Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 07ff196f

Von Werner Hahn vor fast 7 Jahren hinzugefügt

  • ID 07ff196fa5510308b3daa45681574abf23b919ca
  • Vorgänger 981979b5
  • Nachfolger 96f6e440

p.link_tag anstatt p.link in bank_transactions Templates

Unterschiede anzeigen:

templates/webpages/bank_transactions/_payment_suggestion.html
6 6
 [% IF SELECT_OPTIONS.size %]
7 7
  [% P.select_tag("invoice_skontos." _ bt_id _ "[]", SELECT_OPTIONS, value_key="payment_type", title_key="display") %]
8 8
 [% END %]
9
 [% P.link("#", "x", onclick="kivi.BankTransaction.delete_invoice(" _ bt_id _ "," _ prop_id _ ")") %]
9
 [% P.link_tag("#", "x", onclick="kivi.BankTransaction.delete_invoice(" _ bt_id _ "," _ prop_id _ ")") %]
10 10
</span>
templates/webpages/bank_transactions/_template_list.html
15 15
  <tbody>
16 16
   [% FOREACH template = TEMPLATES_AP %]
17 17
    <tr class="listrow">
18
     <td>[% P.link(SELF.load_ap_record_template_url(template), template.template_name) %]</td>
18
     <td>[% P.link_tag(SELF.load_ap_record_template_url(template), template.template_name) %]</td>
19 19
     <td>[% HTML.escape(template.vendor.name) %]</td>
20 20
     <td>[% HTML.escape(template.employee.name || template.employee.login) %]</td>
21 21
     <td>[% HTML.escape(template.itime_as_date) %]</td>
......
42 42
  <tbody>
43 43
   [% FOREACH template = TEMPLATES_GL %]
44 44
    <tr class="listrow">
45
     <td>[% P.link(SELF.load_gl_record_template_url(template), template.template_name) %]</td>
45
     <td>[% P.link_tag(SELF.load_gl_record_template_url(template), template.template_name) %]</td>
46 46
     <td>[% HTML.escape(template.reference) %]</td>
47 47
     <td>[% HTML.escape(template.employee.name || template.employee.login) %]</td>
48 48
     <td>[% HTML.escape(template.itime_as_date) %]</td>
templates/webpages/bank_transactions/invoices.html
9 9
    [% P.hidden_tag("invoice_ids." _ bt_id _"[]", invoice.id) %]
10 10
    [% LxERP.t8("Invno.") %]: [% HTML.escape(invoice.invnumber) %]
11 11
    [% LxERP.t8("Open amount") %]: [% LxERP.format_amount(invoice.open_amount, 2) %]
12
    [% P.link("#", "x", onclick="kivi.BankTransaction.delete_invoice(" _ bt_id _ "," _ invoice.id _ ")") %]
12
    [% P.link_tag("#", "x", onclick="kivi.BankTransaction.delete_invoice(" _ bt_id _ "," _ invoice.id _ ")") %]
13 13
   </span>
14 14
  </td>
15 15
  <td>[% P.input_tag("sources_" _ bt_id _ "_" _ invoice.id, "") %]</td>

Auch abrufbar als: Unified diff