7 <table id="acc_trans" class="tbl-list">
8 <caption>[% HTML.escape(title) %]</caption>
11 <th class="date">[% LxERP.t8("Date") %]</th>
12 <th class="center">[% LxERP.t8("Chart") %]</th>
13 <th>[% LxERP.t8("Description") %]</th>
14 <th class="right">[% LxERP.t8("Debit") %]</th>
15 <th class="right">[% LxERP.t8("Credit") %]</th>
19 [% FOREACH transaction = TRANSACTIONS %]
21 <td class="date">[% transaction.transdate.to_kivitendo %]</td>
22 <td class="center">[% transaction.chart.accno %]</td>
23 <td>[% transaction.chart.description %]</td>
24 <td class="numeric">[% IF transaction.amount < 0 %] [% LxERP.format_amount(transaction.amount * -1, 2) %] [% END %]</td>
25 <td class="numeric">[% IF transaction.amount > 0 %] [% LxERP.format_amount(transaction.amount , 2) %] [% END %]</td>
32 <th>[% LxERP.t8("Total") %]</th>
33 <td class="numeric">[% LxERP.format_amount(debit_sum * -1, 2) %]</td>
34 <td class="numeric">[% LxERP.format_amount(credit_sum, 2) %]</td>
39 </div><!-- /.wrapper -->