6 <h1>[% accno | html %]--[% account | html %]</h1>
8 <p>[% FOREACH row IN option %][% row %][% ', ' UNLESS loop.last %][% END %]</p>
10 <form method=post action="[% script %]">
13 <tr class=listheading>
14 <th>[% L.checkbox_tag('checkall_checkboxes', checkall='input.checkall') %]</th>
15 <th>[% 'Date' | $T8 %]</th>
16 <th>[% 'Source' | $T8 %]</th>
17 <th>[% 'Description' | $T8 %]</th>
19 <th>[% 'Payment' | $T8 %]</th>
20 <th>[% 'Deposit' | $T8 %]</th>
22 <th>[% 'Decrease' | $T8 %]</th>
23 <th>[% 'Increase' | $T8 %]</th>
25 <th>[% 'Balance' | $T8 %]</th>
27 <tr class="listrow[% row.j %]">
32 <td class='numeric'></td>
33 <td class='numeric'></td>
34 <td class='numeric'>[% LxERP.format_amount(balance.beginning, 2, 0) %]</td>
36 [% FOREACH row = DATA %]
37 <tr class="listrow[% loop.count % 2 %]">
39 [%- IF row.fx_transaction %]
40 [% L.hidden_tag('fxoid_' _ row.i, row.oid) %]
42 [% L.checkbox_tag('cleared_' _ row.i, class='checkall', checked=row.cleared) %]
43 [% L.hidden_tag('oid_' _ row.i, row.oid) %]
46 <td>[% row.transdate %]</td>
47 <td>[% row.source %]</td>
48 <td>[% row.name %]</td>
49 <td class='numeric'>[% LxERP.format_amount(row.amount, 2) IF row.amount > 0 %]</td>
50 <td class='numeric'>[% LxERP.format_amount(row.amount * -1, 2) IF row.amount < 0 %]</td>
51 <td class='numeric'>[% LxERP.format_amount(row.balance, 2, 0) %]</td>
59 <td class='numeric'>[% LxERP.format_amount(total.credit, 2, 0) %]</td>
60 <td class='numeric'>[% LxERP.format_amount(total.debit, 2, 0) %]</td>
61 <td class='numeric'></td>
70 <th align=right nowrap>[% 'Cleared Balance' | $T8 %]</th>
72 <td align=right>[% LxERP.format_amount(balance.cleared, 2, 0) %]</td>
76 <th align=right nowrap>[% 'Exchangerate Difference' | $T8 %]</th>
78 <td align=right>[% LxERP.format_amount(fx, 2, 0) %]</td>
86 <th align=right nowrap>[% 'Statement Balance' | $T8 %]</th>
88 <td align=right><input name="statementbalance" size=11 value="[% LxERP.format_amount(balance.statement, 2, 0) %]"></td>
91 <th align=right nowrap>[% 'Difference' | $T8 %]</th>
93 <td align=right><input name=null size=11 value="[% LxERP.format_amount(difference, 2, 0) %]" readonly></td>
94 <input type=hidden name=difference value="[% LxERP.format_amount(difference, 2, 0) %]">
104 <input type=hidden name=rowcount value="[% rowcount %]">
105 <input type=hidden name=accno value="[% accno %]">
106 <input type=hidden name=account value="[% account %]">
108 <input type=hidden name=fromdate value="[% fromdate %]">
109 <input type=hidden name=todate value="[% todate %]">
112 <input type=submit class=submit name=action value="[% 'Update' | $T8 %]">
113 <input type=submit class=submit name=action value="[% 'Done' | $T8 %]">