5 [%- INCLUDE 'common/flash.html' %]
6 <div class="listtop">[% FORM.title %]</div>
8 [% IF (SELF.gl_trans.size) %]
9 <p>[% SELF.gl_trans.size %] [% "entries imported" | $T8 %].</p>
10 <div style="padding-bottom: 15px">
14 <th class="listheading">[%- LxERP.t8("Date") %]</th>
15 <th class="listheading">[%- LxERP.t8("Description") %]</th>
16 <th class="listheading">[%- LxERP.t8("Debit") %]</th>
17 <th class="listheading">[%- LxERP.t8("Credit") %]</th>
18 <th class="listheading">[%- LxERP.t8("Amount") %]</th>
22 [%- FOREACH gl = SELF.gl_trans %]
23 <tr class="listrow[% loop.count % 2 %]">
24 <td>[%- gl.transdate.to_kivitendo -%]</td>
25 <td align="left">[%- gl.description -%]</td>
26 <td align="left">[%- gl.transactions.1.chart.accno -%] [%- gl.transactions.1.chart.description -%]</td>
27 <td align="left">[%- gl.transactions.0.chart.accno -%] [%- gl.transactions.0.chart.description -%]</td>
28 <td align="right"> [%- LxERP.format_amount(gl.transactions.0.amount , 2) %]</td>
37 [% "Import a File:" | $T8 %]
39 <form method="post" action="controller.pl" enctype="multipart/form-data" id="form">
40 [% L.input_tag('file', '', type => 'file', accept => '.csv') %]