[%- IF invoice.vc_bank_info_ok %]
[%- END %]
[%- IF loop.first || (previous_vcname != invoice.vcname) %]
[%- GET HTML.escape(invoice.vcname);
SET previous_vcname = invoice.vcname;
IF !invoice.vc_bank_info_ok;
GET ' (1) ';
SET show_vc_bank_info_footnote = '1';
END; -%]
[%- END -%]
[% HTML.escape(invoice.invnumber) %]
[% LxERP.format_amount(invoice.invoice_amount-invoice.open_sepa_transfer_amount, 2) %]
[% LxERP.format_amount(invoice.open_amount-invoice.open_sepa_transfer_amount, 2) %]
[% invoice.transdate %]
[% invoice.duedate %]
[%- SET reference = invoice.reference_prefix _ invoice.invnumber %]
[% L.select_tag('bank_transfers[].payment_type', invoice.payment_select_options, value_key => 'payment_type', title_key => 'display', id => 'payment_type_' _ loop.count, class => 'type_target' ) %]
[%- IF invoice.skonto_amount %] [% LxERP.format_amount(invoice.percent_skonto, 2) %] % = [% LxERP.format_amount(invoice.skonto_amount, 2) %] € bis [% invoice.skonto_date %] [%- END %]
[%- END %]