836cca3556c913c4a09be9bff2c80ef7c2c3457e
[kivitendo-erp.git] / templates / webpages / am / list_tax.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3  <h1>[% title %]</h1>
4
5  <table>
6   <tr>
7    <th class="listheading">[% 'tax_taxkey' | $T8 %]</th>
8    <th class="listheading">[% 'tax_taxdescription' | $T8 %]</th>
9    <th class="listheading">[% 'tax_rate' | $T8 %]</th>
10    <th class="listheading">[% 'taxnumber' | $T8 %]</th>
11    <th class="listheading">[% 'account_description' | $T8 %]</th>
12    <th class="listheading">[% 'Automatic skonto chart sales' | $T8 %]</th>
13    <th class="listheading">[% 'Automatic skonto chart purchase' | $T8 %]</th>
14   </tr>
15
16   [% SET row_odd = '1' %][% FOREACH row = TAX %]
17   <tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
18    <td align="right">[% HTML.escape(row.taxkey) %]</td>
19    <td><a href="am.pl?action=edit_tax&id=[% HTML.url(row.id) %]&callback=[% HTML.url(callback) %]">[% HTML.escape(row.taxdescription) %]</a></td>
20    <td align="right">[% HTML.escape(row.rate) %] %</td>
21    <td align="right">[% HTML.escape(row.taxnumber) %]</td>
22    <td>[% HTML.escape(row.account_description) %]</td>
23    <td>[% HTML.escape(row.skonto_chart_accno) %] [% HTML.escape(row.skonto_chart_description) %]</td>
24    <td>[% HTML.escape(row.skonto_chart_purchase_accno) %] [% HTML.escape(row.skonto_chart_purchase_description) %]</td>
25   </tr>
26   [% END %]
27  </table>
28
29  <p>
30   <a href="am.pl?action=add&type=tax&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
31  </p>