[%- USE L %]
[%- USE LxERP %]
+[% SET debug = 0 %]
+
[% IF !SELF.LINKED_TRANSACTIONS.size %]
<tbody class="listrow">
<td colspan="11"><p class="message_hint">[% 'No data was found.' | $T8 %]</p></td>
<td><img width="16px" height="16px" src="image/bank-building.jpg"></td>
<td>[% 'Bank Transaction' | $T8 %]</td>
- <td>[% HTML.escape(bt.id) %]</td>
+ [% IF debug %]<td>[% HTML.escape(bt.id) %]</td>[% END %]
<td align="right" class="[% HTML.escape(bt.class) %]">[% HTML.escape(bt.transdate_as_date) %]</td>
<td align="right" class="[% HTML.escape(bt.class) %]">[% HTML.escape(bt.amount_as_number) %]</td>
<td></td>
<tr>
<td><div class="icon16 general-ledger--reports--journal"></div></td>
<td>[% 'Acc Transaction' | $T8 %]</td>
- <td>[% HTML.escape(bb.acc_trans_id) %]</td>
+ [% IF debug %]<td>[% HTML.escape(bb.acc_trans_id) %]</td>[% END %]
<td align="right" class="[% HTML.escape(bb.class) %]">[% HTML.escape(bb.transdate_as_date) %]</td>
<td></td>
<td align="right" class="[% HTML.escape(bb.class) %]">[% LxERP.format_amount(-1 * bb.amount, 2) %]</td>
- <td>[% HTML.escape(bb.get_transaction.customer.name) %][% HTML.escape(bb.get_transaction.vendor.name) %][% HTML.escape(bb.get_transaction.description) %]</td>
- <td>[% bb.get_transaction.link %]</td>
+ <td>[% HTML.escape(bb.record.customer.name) %][% HTML.escape(bb.record.vendor.name) %][% HTML.escape(bb.record.description) %]</td>
+ <td>[% bb.record.link %] [% HTML.escape(bb.source) %] [% HTML.escape(bb.memo) %]</td>
<td></td>
<td></td>
<td>[% HTML.escape(bb.source) %]</td>
<td><img width="16px" height="16px" src="image/bank-building.jpg"></td>
<td>[% 'Bank Transaction' | $T8 %]</td>
- <td>[% HTML.escape(bt.id) %]</td>
+ [% IF debug %]<td>[% HTML.escape(bt.id) %]</td>[% END %]
<td align="right">[% HTML.escape(bt.transdate_as_date) %]</td>
<td align="right">[% HTML.escape(bt.amount_as_number) %]</td>
<td></td>
<td><div class="icon16 general-ledger--reports--journal"></div></td>
<td>[% 'Acc Transaction' | $T8 %]</td>
- <td>[% HTML.escape(bb.acc_trans_id) %]</td>
+ [% IF debug %]<td>[% HTML.escape(bb.acc_trans_id) %]</td>[% END %]
<td align="right">[% HTML.escape(bb.transdate_as_date) %]</td>
<td></td>
<td align="right">[% LxERP.format_amount(-1 * bb.amount, 2) %]</td>
- <td>[% HTML.escape(bb.get_transaction.customer.name) %][% HTML.escape(bb.get_transaction.vendor.name) %][% HTML.escape(bb.get_transaction.description) %]</td>
- <td>[% bb.get_transaction.link %]</td>
+ <td>[% HTML.escape(bb.record.customer.name) %][% HTML.escape(bb.record.vendor.name) %][% HTML.escape(bb.record.description) %]</td>
+ <td>[% bb.record.link %] [% HTML.escape(bb.source) %] [% HTML.escape(bb.memo) %]</td>
<td></td>
<td></td>
<td>[% HTML.escape(bb.source) %]</td>