8 [% IF !SELF.PROPOSALS.size %]
9 <tbody class="listrow">
10 <td colspan="11"><p class="message_hint">[% 'No data was found.' | $T8 %]</p></td>
13 [% FOREACH proposal = SELF.PROPOSALS %]
14 <tbody class="listrow">
16 <td rowspan=[% proposal.BB.size + 1 %] style="valign:center;">
17 [% L.checkbox_tag('bt_ids[]', checked=0, value=proposal.BT.id) %]
20 <td><img width="16px" height="16px" src="image/bank-building.jpg"></td>
21 <td>[% 'Bank Transaction' | $T8 %]</td>
22 [% IF debug %] <td>[% HTML.escape(proposal.BT.id) %]</td>[% END %]
23 <td align="right">[% HTML.escape(proposal.BT.transdate_as_date) %]</td>
24 <td align="right">[% HTML.escape(proposal.BT.amount_as_number) %]</td>
26 <td>[% HTML.escape(proposal.BT.remote_name) %]</td>
27 <td>[% HTML.escape(proposal.BT.purpose) %]</td>
28 <td>[% HTML.escape(proposal.BT.remote_account_number) %]</td>
29 <td>[% HTML.escape(proposal.BT.remote_bank_code) %]</td>
31 [% L.hidden_tag('proposal_list.' _ proposal.BT.id _ '.BT', proposal.BT.id) %]
34 [% FOREACH bb = proposal.BB %]
36 <td><div class="icon16 general-ledger--reports--journal"></div></td>
37 <td>[% 'Invoice' | $T8 %]</td>
38 [% IF debug %] <td>[% HTML.escape(bb.acc_trans_id) %]</td>[% END %]
39 <td align="right">[% HTML.escape(bb.transdate_as_date) %]</td>
41 <td align="right">[% LxERP.format_amount(-1 * bb.amount, 2) %]</td>
42 <td>[% HTML.escape(bb.record.customer.name) %][% HTML.escape(bb.record.vendor.name) %][% HTML.escape(bb.record.description) %]</td>
43 <td>[% bb.record.link %]</td>
46 <td>[% HTML.escape(bb.source) %]</td>
47 [% L.hidden_tag('proposal_list.' _ proposal.BT.id _ '.BB[]', bb.acc_trans_id) %]