Merge branch 'bankerweiterung_und_skonto'
[kivitendo-erp.git] / templates / webpages / am / list_tax.html
index b5d43bc..836cca3 100644 (file)
@@ -1,7 +1,6 @@
 [%- USE T8 %]
 [%- USE HTML %]
-
- <div class="listtop">[% title %]</div>
+ <h1>[% title %]</h1>
 
  <table>
   <tr>
@@ -10,6 +9,8 @@
    <th class="listheading">[% 'tax_rate' | $T8 %]</th>
    <th class="listheading">[% 'taxnumber' | $T8 %]</th>
    <th class="listheading">[% 'account_description' | $T8 %]</th>
+   <th class="listheading">[% 'Automatic skonto chart sales' | $T8 %]</th>
+   <th class="listheading">[% 'Automatic skonto chart purchase' | $T8 %]</th>
   </tr>
 
   [% SET row_odd = '1' %][% FOREACH row = TAX %]
    <td align="right">[% HTML.escape(row.rate) %] %</td>
    <td align="right">[% HTML.escape(row.taxnumber) %]</td>
    <td>[% HTML.escape(row.account_description) %]</td>
+   <td>[% HTML.escape(row.skonto_chart_accno) %] [% HTML.escape(row.skonto_chart_description) %]</td>
+   <td>[% HTML.escape(row.skonto_chart_purchase_accno) %] [% HTML.escape(row.skonto_chart_purchase_description) %]</td>
   </tr>
   [% END %]
  </table>
 
  <p>
-  <form method="post" action="am.pl">
-
-   <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
-   <input type="hidden" name="type" value="tax">
-   <input class="submit" type="submit" name="action" value="[% 'Add' | $T8 %]">
-  </form>
+  <a href="am.pl?action=add&type=tax&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
  </p>
-
-