[%- USE HTML %] [%- USE LxERP %] [%- USE L %] [%- USE T8 %] [%- INCLUDE 'common/flash.html' %]
[% FORM.title %]
[% IF (SELF.gl_trans.size) %]

[% SELF.gl_trans.size %] [% "entries imported" | $T8 %].

[%- FOREACH gl = SELF.gl_trans %] [% END %]
[%- LxERP.t8("Date") %] [%- LxERP.t8("Description") %] [%- LxERP.t8("Debit") %] [%- LxERP.t8("Credit") %] [%- LxERP.t8("Amount") %]
[%- gl.transdate.to_kivitendo -%] [%- gl.description -%] [%- gl.transactions.1.chart.accno -%] [%- gl.transactions.1.chart.description -%] [%- gl.transactions.0.chart.accno -%] [%- gl.transactions.0.chart.description -%] [%- LxERP.format_amount(gl.transactions.0.amount , 2) %]
[% END %]

[% "Import a File:" | $T8 %]

[% L.input_tag('file', '', type => 'file', accept => '.csv') %]