[%- USE T8 -%][%- USE HTML -%][%- USE LxERP -%][%- USE P -%][%- USE L -%] [%- IF !INVOICES.size %]

[% 'No data was found.' | $T8 %]

[%- ELSE %] [%- FOREACH invoice = INVOICES %] [%- END %]
[% L.checkbox_tag('invoices_check_all') %] [%- LxERP.t8("Invoice number") %] [%- LxERP.t8("Amount") %] [%- LxERP.t8("Open amount") %] [%- LxERP.t8("Amount less skonto") %] [%- LxERP.t8("Invoice Date") %] [%- LxERP.t8("Customer/Vendor Number") %] [%- LxERP.t8("Customer/Vendor Name") %]
[% L.checkbox_tag('invoice_id[]', value=invoice.id) %] [%- invoice.invnumber %] [%- LxERP.format_amount(invoice.amount, 2) %] [%- LxERP.format_amount(invoice.open_amount, 2) %] [%- LxERP.format_amount(invoice.amount_less_skonto, 2) %] [%- invoice.transdate_as_date %] [%- invoice.vendor.vendornumber %][%- invoice.customer.customernumber %] [%- invoice.vendor.name %][%- invoice.customer.name %]
[%- END %]