8 [% IF !SELF.LINKED_TRANSACTIONS.size %]
 
   9   <tbody class="listrow">
 
  10     <td colspan="11"><p class="message_hint">[% 'No data was found.' | $T8 %]</p></td>
 
  13   [% FOREACH link = SELF.LINKED_TRANSACTIONS %]
 
  14     [% IF link.type == 'Link' %]
 
  15       <tbody class="listrow">
 
  16         [% FOREACH bt = link.BT %]
 
  18             [% IF loop.count == 1 %]
 
  19               <td rowspan=[% link.BT.size + link.BB.size %] style="valign:center;">
 
  20                 [% L.button_tag('delete_reconciliation(' _ link.rec_group  _ ')', LxERP.t8("X")) %]
 
  24             <td><img width="16px" height="16px" src="image/bank-building.jpg"></td>
 
  25             <td>[% 'Bank Transaction' | $T8 %]</td>
 
  26             [% IF debug %]<td>[% HTML.escape(bt.id) %]</td>[% END %]
 
  27             <td align="right" class="[% HTML.escape(bt.class) %]">[% HTML.escape(bt.transdate_as_date) %]</td>
 
  28             <td align="right" class="[% HTML.escape(bt.class) %]">[% HTML.escape(bt.amount_as_number) %]</td>
 
  30             <td>[% HTML.escape(bt.remote_name) %]</td>
 
  31             <td>[% HTML.escape(bt.purpose) %]</td>
 
  32             <td>[% HTML.escape(bt.remote_account_number) %]</td>
 
  33             <td>[% HTML.escape(bt.remote_bank_code) %]</td>
 
  37         [% FOREACH bb = link.BB %]
 
  39             <td><div class="icon16 general-ledger--reports--journal"></div></td>
 
  40             <td>[% 'Acc Transaction' | $T8 %]</td>
 
  41             [% IF debug %]<td>[% HTML.escape(bb.acc_trans_id) %]</td>[% END %]
 
  42             <td align="right" class="[% HTML.escape(bb.class) %]">[% HTML.escape(bb.transdate_as_date) %]</td>
 
  44             <td align="right" class="[% HTML.escape(bb.class) %]">[% LxERP.format_amount(-1 * bb.amount, 2) %]</td>
 
  45             <td>[% HTML.escape(bb.record.customer.name) %][% HTML.escape(bb.record.vendor.name) %][% HTML.escape(bb.record.description) %]</td>
 
  46             <td>[% bb.record.link %] [% HTML.escape(bb.source) %] [% HTML.escape(bb.memo) %]</td>
 
  49             <td>[% HTML.escape(bb.source) %]</td>
 
  54       <tbody class="listrow_error">
 
  55         [% FOREACH bt = link.BT %]
 
  58               [%- L.checkbox_tag('bt_ids[]', value=link.id, onchange='update_reconciliation_table();')     %]
 
  61             <td><img width="16px" height="16px" src="image/bank-building.jpg"></td>
 
  62             <td>[% 'Bank Transaction' | $T8 %]</td>
 
  63             [% IF debug %]<td>[% HTML.escape(bt.id) %]</td>[% END %]
 
  64             <td align="right">[% HTML.escape(bt.transdate_as_date) %]</td>
 
  65             <td align="right">[% HTML.escape(bt.amount_as_number) %]</td>
 
  67             <td>[% HTML.escape(bt.remote_name) %]</td>
 
  68             <td>[% HTML.escape(bt.purpose) %]</td>
 
  69             <td>[% HTML.escape(bt.remote_account_number) %]</td>
 
  70             <td>[% HTML.escape(bt.remote_bank_code) %]</td>
 
  74         [% FOREACH bb = link.BB %]
 
  77               [%- L.checkbox_tag('bb_ids[]', value=link.id, onchange='update_reconciliation_table();')     %]
 
  80             <td><div class="icon16 general-ledger--reports--journal"></div></td>
 
  81             <td>[% 'Acc Transaction' | $T8 %]</td>
 
  82             [% IF debug %]<td>[% HTML.escape(bb.acc_trans_id) %]</td>[% END %]
 
  83             <td align="right">[% HTML.escape(bb.transdate_as_date) %]</td>
 
  85             <td align="right">[% LxERP.format_amount(-1 * bb.amount, 2) %]</td>
 
  86             <td>[% HTML.escape(bb.record.customer.name) %][% HTML.escape(bb.record.vendor.name) %][% HTML.escape(bb.record.description) %]</td>
 
  87             <td>[% bb.record.link %] [% HTML.escape(bb.source) %] [% HTML.escape(bb.memo) %]</td>
 
  90             <td>[% HTML.escape(bb.source) %]</td>