1 [% USE L %] [%- USE LxERP %] [%- USE HTML %]
 
   2 <div class="listtop">[%- HTML.escape(title) %]</div>
 
   4 <div style="padding-bottom: 15px">
 
   8     <th class="listheading">[%- LxERP.t8("Date") %]</th>
 
   9     <th class="listheading">[%- LxERP.t8("Chart") %]</th>
 
  10     <th class="listheading">[%- LxERP.t8("Description") %]</th>
 
  11     <th class="listheading">[%- LxERP.t8("Debit") %]</th>
 
  12     <th class="listheading">[%- LxERP.t8("Credit") %]</th>
 
  17    [%- FOREACH transaction = TRANSACTIONS %]
 
  18    <tr class="listrow[% loop.count % 2 %]">
 
  19     <td>[%- transaction.transdate.to_kivitendo -%]</td>
 
  20     <td align="right">[%- transaction.chart.accno -%]</td>
 
  21     <td>[%- transaction.chart.description -%]</td>
 
  22     <td align="right">[%- IF transaction.amount < 0 %] [%- LxERP.format_amount(transaction.amount * -1, 2) %] [% END %]</td>
 
  23     <td align="right">[%- IF transaction.amount > 0 %] [%- LxERP.format_amount(transaction.amount     , 2) %] [%- END -%]</td>
 
  27     <td align="right"><b>[%- LxERP.t8("Total") %]:</b></td>
 
  28     <td align="right"><b>[%- LxERP.format_amount(debit_sum * -1, 2) %]</b></td>
 
  29     <td align="right"><b>[%- LxERP.format_amount(credit_sum, 2) %]</b></td>