Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 84873324

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

  • ID 8487332471d89a920119dd02523aba1ad40a85b8
  • Vorgänger 1fec9241
  • Nachfolger 9c506e42

Neues Design 2019 Standard-Code templates/webpages/am/list_tax.html

Unterschiede anzeigen:

templates/webpages/am/list_tax.html
1 1
[%- USE T8 %]
2 2
[%- USE HTML %]
3 3
[% INCLUDE "common/flash.html" %]
4
 <h1>[% title %]</h1>
5

  
6
 <table>
7
  <tr>
8
   <th class="listheading">[% 'tax_taxkey' | $T8 %]</th>
9
   <th class="listheading">[% 'tax_taxdescription' | $T8 %]</th>
10
   <th class="listheading">[% 'tax_rate' | $T8 %]</th>
11
   <th class="listheading">[% 'taxnumber' | $T8 %]</th>
12
   <th class="listheading">[% 'account_description' | $T8 %]</th>
13
   <th class="listheading">[% 'Automatic skonto chart sales' | $T8 %]</th>
14
   <th class="listheading">[% 'Automatic skonto chart purchase' | $T8 %]</th>
15
  </tr>
16

  
17
  [% SET row_odd = '1' %][% FOREACH row = TAX %]
18
  <tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
19
   <td align="right">[% HTML.escape(row.taxkey) %]</td>
20
   <td><a href="am.pl?action=edit_tax&id=[% HTML.url(row.id) %]&callback=[% HTML.url(callback) %]">[% HTML.escape(row.taxdescription) %]</a></td>
21
   <td align="right">[% HTML.escape(row.rate) %] %</td>
22
   <td align="right">[% HTML.escape(row.taxnumber) %]</td>
23
   <td>[% HTML.escape(row.account_description) %]</td>
24
   <td>[% HTML.escape(row.skonto_chart_accno) %] [% HTML.escape(row.skonto_chart_description) %]</td>
25
   <td>[% HTML.escape(row.skonto_chart_purchase_accno) %] [% HTML.escape(row.skonto_chart_purchase_description) %]</td>
26
  </tr>
27
  [% END %]
28
 </table>
4
<h1>[% title %]</h1>
5
<div class="wrapper">
6
<table class="tbl-list width-moderate">
7
  <thead>
8
    <tr>
9
      <th class="center">[% 'tax_taxkey' | $T8 %]</th>
10
      <th>[% 'tax_taxdescription' | $T8 %]</th>
11
      <th>[% 'tax_rate' | $T8 %]</th>
12
      <th>[% 'taxnumber' | $T8 %]</th>
13
      <th>[% 'account_description' | $T8 %]</th>
14
      <th>[% 'Automatic skonto chart sales' | $T8 %]</th>
15
      <th>[% 'Automatic skonto chart purchase' | $T8 %]</th>
16
    </tr>
17
  </thead>
18
  <tbody>
19
    [% SET row_odd = '1' %][% FOREACH row = TAX %]
20
    <tr>
21
      <td class="center">[% HTML.escape(row.taxkey) %]</td>
22
      <td><a href="am.pl?action=edit_tax&id=[% HTML.url(row.id) %]&callback=[% HTML.url(callback) %]">[% HTML.escape(row.taxdescription) %]</a></td>
23
      <td>[% HTML.escape(row.rate) %] %</td>
24
      <td>[% HTML.escape(row.taxnumber) %]</td>
25
      <td>[% HTML.escape(row.account_description) %]</td>
26
      <td>[% HTML.escape(row.skonto_chart_accno) %] [% HTML.escape(row.skonto_chart_description) %]</td>
27
      <td>[% HTML.escape(row.skonto_chart_purchase_accno) %] [% HTML.escape(row.skonto_chart_purchase_description) %]</td>
28
    </tr>
29
    [% END %]
30
  </tbody>
31
</table>
32
</div>

Auch abrufbar als: Unified diff