Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f84c8ea9

Von Hans P. Schlaepfer vor mehr als 3 Jahren hinzugefügt

  • ID f84c8ea9695252eae1bfcddefe3eb6a66cf988a3
  • Vorgänger 8e39dc79
  • Nachfolger 64202118

Neues Design 2019 Standard-Code templates/webpages/bank_transactions/_template_list.html

Unterschiede anzeigen:

templates/webpages/bank_transactions/_template_list.html
3 3
[% USE P %]
4 4

  
5 5
[% IF TEMPLATES_AP.size %]
6
 [% LxERP.t8('AP template suggestions') %]:
7
 <table>
8
  <thead>
9
   <tr>
10
    <th class="listheading">[% LxERP.t8('Description') %]</th>
11
    <th class="listheading">[% LxERP.t8('Vendor') %]</th>
12
    <th class="listheading">[% LxERP.t8('Employee') %]</th>
13
    <th class="listheading">[% LxERP.t8('Template date') %]</th>
14
   </tr>
15
  </thead>
16 6

  
17
  <tbody>
18
   [% FOREACH template = TEMPLATES_AP %]
19
    <tr class="listrow">
20
     <td>[% P.link_tag(SELF.load_ap_record_template_url(template), template.template_name) %]</td>
21
     <td>[% HTML.escape(template.vendor.name) %]</td>
22
     <td>[% HTML.escape(template.employee.name || template.employee.login) %]</td>
23
     <td>[% HTML.escape(template.itime_as_date) %]</td>
24
    </tr>
25
   [% END %]
26
  </tbody>
27
 </table>
7
  <table class="tbl-list">
8
    <caption>[% LxERP.t8('AP template suggestions') %]:</caption>
9
    <thead>
10
      <tr>
11
        <th>[% LxERP.t8('Description') %]</th>
12
        <th>[% LxERP.t8('Vendor') %]</th>
13
        <th>[% LxERP.t8('Employee') %]</th>
14
        <th>[% LxERP.t8('Template date') %]</th>
15
      </tr>
16
    </thead>
17
    <tbody>
18
      [% FOREACH template = TEMPLATES_AP %]
19
      <tr>
20
        <td>[% P.link_tag(SELF.load_ap_record_template_url(template), template.template_name) %]</td>
21
        <td>[% HTML.escape(template.vendor.name) %]</td>
22
        <td>[% HTML.escape(template.employee.name || template.employee.login) %]</td>
23
        <td>[% HTML.escape(template.itime_as_date) %]</td>
24
      </tr>
25
      [% END %]
26
    </tbody>
27
  </table>
28

  
28 29
[% ELSE %]
29
 <p class="message_hint">[% LxERP.t8('No AP template was found.') %]</p>
30
  <p class="message message_hint">[% LxERP.t8('No AP template was found.') %]</p>
30 31
[% END %]
31 32

  
33

  
32 34
[% IF TEMPLATES_GL.size %]
33
 [% LxERP.t8('GL template suggestions') %]:
34
 <table>
35
  <thead>
36
   <tr>
37
    <th class="listheading">[% LxERP.t8('Description') %]</th>
38
    <th class="listheading">[% LxERP.t8('Reference') %]</th>
39
    <th class="listheading">[% LxERP.t8('Employee') %]</th>
40
    <th class="listheading">[% LxERP.t8('Template date') %]</th>
41
   </tr>
42
  </thead>
43 35

  
44
  <tbody>
45
   [% FOREACH template = TEMPLATES_GL %]
46
    <tr class="listrow">
47
     <td>[% P.link_tag(SELF.load_gl_record_template_url(template), template.template_name) %]</td>
48
     <td>[% HTML.escape(template.reference) %]</td>
49
     <td>[% HTML.escape(template.employee.name || template.employee.login) %]</td>
50
     <td>[% HTML.escape(template.itime_as_date) %]</td>
51
    </tr>
52
   [% END %]
53
  </tbody>
54
 </table>
36
  <table class="tbl-list">
37
    <caption>[% LxERP.t8('GL template suggestions') %]:</caption>
38
    <thead>
39
      <tr>
40
        <th>[% LxERP.t8('Description') %]</th>
41
        <th>[% LxERP.t8('Reference') %]</th>
42
        <th>[% LxERP.t8('Employee') %]</th>
43
        <th>[% LxERP.t8('Template date') %]</th>
44
      </tr>
45
    </thead>
46
    <tbody>
47
      [% FOREACH template = TEMPLATES_GL %]
48
        <tr>
49
          <td>[% P.link_tag(SELF.load_gl_record_template_url(template), template.template_name) %]</td>
50
          <td>[% HTML.escape(template.reference) %]</td>
51
          <td>[% HTML.escape(template.employee.name || template.employee.login) %]</td>
52
          <td>[% HTML.escape(template.itime_as_date) %]</td>
53
        </tr>
54
      [% END %]
55
    </tbody>
56
  </table>
57

  
55 58
[% ELSE %]
56
 <p class="message_hint">[% LxERP.t8('No GL template was found.') %]</p>
59
  <p class="message message_hint">[% LxERP.t8('No GL template was found.') %]</p>
57 60
[% END %]

Auch abrufbar als: Unified diff