Kontoauszug verbuchen: Skonto-Option auch über Rechnung suchen anbieten
[kivitendo-erp.git] / templates / webpages / bank_transactions / invoices.html
index 4b59efc..48564c7 100644 (file)
@@ -9,7 +9,8 @@
     [% 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.select_tag("invoice_skontos." _ bt_id _ "[]", invoice.get_payment_select_options_for_bank_transaction(bt_id), value_key="payment_type", title_key="display") %]
+    [% P.link("#", "x", onclick="kivi.BankTransaction.delete_invoice(" _ bt_id _ "," _ invoice.id _ ")") %]
    </span>
   </td>
   <td>[% P.input_tag("sources_" _ bt_id _ "_" _ invoice.id, "") %]</td>