Templates werden nicht mehr explizit übersetzt: *_master in * umbenannt
[kivitendo-erp.git] / templates / webpages / am / list_tax.html
diff --git a/templates/webpages/am/list_tax.html b/templates/webpages/am/list_tax.html
new file mode 100644 (file)
index 0000000..3d24b51
--- /dev/null
@@ -0,0 +1,37 @@
+[%- USE T8 %]
+[% USE HTML %]<body>
+
+ <div class="listtop">[% title %]</div>
+
+ <table>
+  <tr>
+   <th class="listheading">[% 'tax_taxkey' | $T8 %]</th>
+   <th class="listheading">[% 'tax_taxdescription' | $T8 %]</th>
+   <th class="listheading">[% 'tax_rate' | $T8 %]</th>
+   <th class="listheading">[% 'taxnumber' | $T8 %]</th>
+   <th class="listheading">[% 'account_description' | $T8 %]</th>
+  </tr>
+
+  [% SET row_odd = '1' %][% FOREACH row = TAX %]
+  <tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
+   <td align="right">[% HTML.escape(row.taxkey) %]</td>
+   <td><a href="am.pl?action=edit_tax&id=[% HTML.url(row.id) %]&callback=[% HTML.url(callback) %]">[% HTML.escape(row.taxdescription) %]</a></td>
+   <td align="right">[% HTML.escape(row.rate) %] %</td>
+   <td align="right">[% HTML.escape(row.taxnumber) %]</td>
+   <td>[% HTML.escape(row.account_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>
+ </p>
+
+</body>
+</html>
+