3 [% USE LxERP %][%- USE HTML -%]
4 [% FOREACH invoice = INVOICES %]
5 <div id="[% bt_id %].[% invoice.id %]" data-invoice-amount="[% HTML.escape(invoice.open_amount * 1) %]">
6 [% L.hidden_tag('invoice_ids.' _ bt_id _'[]', invoice.id) %]
7 [% 'Invno.' | $T8 %]: [% invoice.invnumber %]
8 [% 'Open amount' | $T8 %]: [% LxERP.format_amount(invoice.open_amount, 2) %]
9 <a href=# onclick="kivi.BankTransaction.delete_invoice([% bt_id %], [% invoice.id %])">x</a>