[% IF SELECT_OPTIONS.size %]
[% P.select_tag("invoice_skontos." _ bt_id _ "[]", SELECT_OPTIONS, value_key="payment_type", title_key="display") %]
[% END %]
- [% P.link("#", "x", onclick="kivi.BankTransaction.delete_invoice(" _ bt_id _ "," _ prop_id _ ")") %]
+ [% P.link_tag("#", "x", onclick="kivi.BankTransaction.delete_invoice(" _ bt_id _ "," _ prop_id _ ")") %]
</span>
<tbody>
[% FOREACH template = TEMPLATES_AP %]
<tr class="listrow">
- <td>[% P.link(SELF.load_ap_record_template_url(template), template.template_name) %]</td>
+ <td>[% P.link_tag(SELF.load_ap_record_template_url(template), template.template_name) %]</td>
<td>[% HTML.escape(template.vendor.name) %]</td>
<td>[% HTML.escape(template.employee.name || template.employee.login) %]</td>
<td>[% HTML.escape(template.itime_as_date) %]</td>
<tbody>
[% FOREACH template = TEMPLATES_GL %]
<tr class="listrow">
- <td>[% P.link(SELF.load_gl_record_template_url(template), template.template_name) %]</td>
+ <td>[% P.link_tag(SELF.load_gl_record_template_url(template), template.template_name) %]</td>
<td>[% HTML.escape(template.reference) %]</td>
<td>[% HTML.escape(template.employee.name || template.employee.login) %]</td>
<td>[% HTML.escape(template.itime_as_date) %]</td>
[% 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("#", "x", onclick="kivi.BankTransaction.delete_invoice(" _ bt_id _ "," _ invoice.id _ ")") %]
+ [% P.link_tag("#", "x", onclick="kivi.BankTransaction.delete_invoice(" _ bt_id _ "," _ invoice.id _ ")") %]
</span>
</td>
<td>[% P.input_tag("sources_" _ bt_id _ "_" _ invoice.id, "") %]</td>