p.link_tag anstatt p.link in bank_transactions Templates
[kivitendo-erp.git] / templates / webpages / bank_transactions / invoices.html
1 [%- USE HTML -%][%- USE LxERP -%][%- USE P -%]
2 [% SET debug=1 %]
3 [% FOREACH invoice = INVOICES %]
4  <tr id="extra_row_[% HTML.escape(bt_id) %]_[% HTML.escape(invoice.id) %]">
5   <td></td>
6   <td></td>
7   <td id="assigned_invoices_[% bt.id %]_[% invoice.id %]">
8    <span id="[% bt_id %].[% invoice.id %]" data-invoice-amount="[% HTML.escape(invoice.open_amount * 1) %]">
9     [% P.hidden_tag("invoice_ids." _ bt_id _"[]", invoice.id) %]
10     [% LxERP.t8("Invno.") %]: [% HTML.escape(invoice.invnumber) %]
11     [% LxERP.t8("Open amount") %]: [% LxERP.format_amount(invoice.open_amount, 2) %]
12     [% P.link_tag("#", "x", onclick="kivi.BankTransaction.delete_invoice(" _ bt_id _ "," _ invoice.id _ ")") %]
13    </span>
14   </td>
15   <td>[% P.input_tag("sources_" _ bt_id _ "_" _ invoice.id, "") %]</td>
16   <td>[% P.input_tag("memos_" _ bt_id _ "_" _ invoice.id, "") %]</td>
17   [% IF debug %]
18   <td></td>
19   [% END %]
20   <td></td>
21   <td></td>
22   <td></td>
23   <td></td>
24   <td></td>
25   <td></td>
26   <td></td>
27   <td></td>
28   <td></td>
29   <td></td>
30   <td></td>
31  </tr>
32 [% END %]