dd8aab4ef9aac18cd031d7dea98e317af77de060
[kivitendo-erp.git] / templates / webpages / dbupgrade / steuerfilterung.html
1
2 [% USE T8 %]
3 [% USE HTML %]
4 [% USE L %]
5 <div class="listtop">[% 'New filter for tax accounts' | $T8 %]</div>
6
7 <form name="Form" method="post" action="login.pl">
8 <input type="hidden" name="action" value="login">
9 <input type="hidden" name="continued_tax" value="1">
10
11 <p>[% 'From this version on a new feature is available.' | $T8 %]</p>
12 <p>[% 'You can choose account categories for taxes. Depending on these categories taxes will be displayed for transfers in the general ledger or not.' | $T8 %]</p>
13 <p>[% 'If you have not chosen for example the category revenue for a tax and you choose an revenue account to create a transfer in the general ledger, this tax will not be displayed in the tax dropdown.' | $T8 %]</p>
14 <p>[% 'This feature especially prevents mistakes by mixing up prior tax and sales tax.' | $T8 %]</p>
15 <p>[% 'Please choose for which categories the taxes should be displayed (otherwise remove the ticks):' | $T8 %]</p>
16 <table>
17   <tr>
18     <th class="listheading">[% 'Taxkey' | $T8 %]</th>
19     <th class="listheading">[% 'Description' | $T8 %]</th>
20     <th class="listheading">[% 'Tax rate' | $T8 %]</th>
21     <th class="listheading">[% 'Asset' | $T8 %] (A)</th>
22     <th class="listheading">[% 'Liability' | $T8 %] (L)</th>
23     <th class="listheading">[% 'Equity' | $T8 %] (Q)</th>
24     <th class="listheading">[% 'Costs' | $T8 %] (C)</th>
25     <th class="listheading">[% 'Revenue' | $T8 %] (I)</th>
26     <th class="listheading">[% 'Expense' | $T8 %] (E)</th>
27   </tr>
28
29   [% SET row_odd = '1' %][% FOREACH row = PARTS %]
30   <tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
31     <td align="right">[% HTML.escape(row.taxkey) %]</td>
32     <td align="left"> [% HTML.escape(row.taxdescription) %]</a></td>
33     <td align="right">[% HTML.escape(row.rate) %] %</td>
34     <td align="center">[% L.checkbox_tag('asset_' _ loop.count, value => 1, checked => 1, class => 'checkbox') %]</td>
35     <td align="center">[% L.checkbox_tag('liability_' _ loop.count, value => 1, checked => 1, class => 'checkbox') %]</td>
36     <td align="center">[% L.checkbox_tag('equity_' _ loop.count, value => 1, checked => 1, class => 'checkbox') %]</td>
37     <td align="center">[% L.checkbox_tag('costs_' _ loop.count, value => 1, checked => 1, class => 'checkbox') %]</td>
38     <td align="center">[% L.checkbox_tag('revenue_' _ loop.count, value => 1, checked => 1, class => 'checkbox') %]</td>
39     <td align="center">[% L.checkbox_tag('expense_' _ loop.count, value => 1, checked => 1, class => 'checkbox') %]</td>
40   </tr>
41   <input type="hidden" name="tax_id_[% loop.count %]" value="[% row.tax_id %]">
42   [% SET rowcount = loop.count %]
43   [% END %]
44   <input type="hidden" name="rowcount" value="[% rowcount %]">
45 </table>
46
47 <input type="submit" value="[% 'Continue' | $T8 %]">
48
49 </form>