20a437a250f096a25f9b555177d17d47a2a8a4d1
[kivitendo-erp.git] / templates / webpages / bank_transactions / _payment_suggestion.html
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 _ ")") %]
9 </span>