1 [%- USE P -%][%- USE HTML -%][%- USE LxERP -%]
2 <span id="[% HTML.escape(bt_id) %].[% HTML.escape(prop_id) %]" data-invoice-amount="[% HTML.escape(invoice.open_amount * 1) %]">
3 [% P.hidden_tag("invoice_ids." _ bt_id _ "[]", prop_id) %]
4 [% LxERP.t8("Invno.") %]: [% HTML.escape(invoice.invnumber) %]
5 [% LxERP.t8("Open amount") %]: [% LxERP.format_amount(invoice.open_amount, 2) %]
6 [% IF SELECT_OPTIONS.size %]
7 [% P.select_tag("invoice_skontos." _ bt_id _ "[]", SELECT_OPTIONS, value_key="payment_type", title_key="display") %]
9 [% P.link_tag("#", "x", onclick="kivi.BankTransaction.delete_invoice(" _ bt_id _ "," _ prop_id _ ")") %]