[%- USE T8 %]
[%- INCLUDE 'common/flash.html' %]
<div class="listtop">[% FORM.title %]</div>
+
+[% IF (SELF.gl_trans.size) %]
+ <p>[% SELF.gl_trans.size %][% "entries imported" | $T8 %].</p>
+<div style="padding-bottom: 15px">
+ <table id="gl_trans">
+ <thead>
+ <tr>
+ <th class="listheading">[%- LxERP.t8("Date") %]</th>
+ <th class="listheading">[%- LxERP.t8("Description") %]</th>
+ <th class="listheading">[%- LxERP.t8("Debit") %]</th>
+ <th class="listheading">[%- LxERP.t8("Credit") %]</th>
+ <th class="listheading">[%- LxERP.t8("Amount") %]</th>
+ </tr>
+ </thead>
+ <tbody>
+ [%- FOREACH gl = SELF.gl_trans %]
+ <tr class="listrow[% loop.count % 2 %]">
+ <td>[%- gl.transdate.to_kivitendo -%]</td>
+ <td align="left">[%- gl.description -%]</td>
+ <td align="left">[%- gl.transactions.1.chart.accno -%] [%- gl.transactions.1.chart.description -%]</td>
+ <td align="left">[%- gl.transactions.0.chart.accno -%] [%- gl.transactions.0.chart.description -%]</td>
+ <td align="right"> [%- LxERP.format_amount(gl.transactions.0.amount , 2) %]</td>
+ </tr>
+ [% END %]
+ </tbody>
+ </table>
+ <div>
+[% END %]
+
<p>
[% "Import a File:" | $T8 %]
</p>