[%- USE HTML -%][%- USE LxERP -%][%- USE P -%] [% SET debug=1 %] [% FOREACH invoice = INVOICES %] [% P.hidden_tag("invoice_ids." _ bt_id _"[]", invoice.id) %] [% LxERP.t8("Invno.") %]: [% HTML.escape(invoice.invnumber) %] [% LxERP.t8("Open amount") %]: [% LxERP.format_amount(invoice.open_amount, 2) %] [% P.link_tag("#", "x", onclick="kivi.BankTransaction.delete_invoice(" _ bt_id _ "," _ invoice.id _ ")") %] [% P.input_tag("sources_" _ bt_id _ "_" _ invoice.id, "") %] [% P.input_tag("memos_" _ bt_id _ "_" _ invoice.id, "") %] [% IF debug %] [% END %] [% END %]