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