5 <div class="listtop">[% 'New filter for tax accounts' | $T8 %]</div>
7 <form name="Form" method="post" action="login.pl">
8 <input type="hidden" name="action" value="login">
9 <input type="hidden" name="continued" value="1">
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:' | $T8 %]</p>
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>
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">[% IF row.taxkey == 0 or row.taxkey == 1 %]
35 [% L.checkbox_tag('asset_' _ loop.count, value => 1, checked => 1, class => 'checkbox') %]
37 [% L.checkbox_tag('asset_' _ loop.count, value => 1, checked => 0, class => 'checkbox') %]
40 <td align="center">[% IF row.taxkey == 0 or row.taxkey == 1 %]
41 [% L.checkbox_tag('liability_' _ loop.count, value => 1, checked => 1, class => 'checkbox') %]
43 [% L.checkbox_tag('liability_' _ loop.count, value => 1, checked => 0, class => 'checkbox') %]
46 <td align="center">[% IF row.taxkey == 0 or row.taxkey == 1 %]
47 [% L.checkbox_tag('equity_' _ loop.count, value => 1, checked => 1, class => 'checkbox') %]
49 [% L.checkbox_tag('equity_' _ loop.count, value => 1, checked => 0, class => 'checkbox') %]
52 <td align="center">[% IF row.taxkey == 0 or row.taxkey == 1 %]
53 [% L.checkbox_tag('costs_' _ loop.count, value => 1, checked => 1, class => 'checkbox') %]
55 [% L.checkbox_tag('costs_' _ loop.count, value => 1, checked => 0, class => 'checkbox') %]
58 <td align="center">[% IF row.taxkey == 8 or row.taxkey == 9 or row.taxkey == 18 or row.taxkey == 19%]
59 [% L.checkbox_tag('revenue_' _ loop.count, value => 1, checked => 0, class => 'checkbox') %]
61 [% L.checkbox_tag('revenue_' _ loop.count, value => 1, checked => 1, class => 'checkbox') %]
64 <td align="center">[% IF row.taxkey == 2 or row.taxkey == 3 or row.taxkey == 10 or row.taxkey == 11 or row.taxkey == 12 or row.taxkey == 13 %]
65 [% L.checkbox_tag('expense_' _ loop.count, value => 1, checked => 0, class => 'checkbox') %]
67 [% L.checkbox_tag('expense_' _ loop.count, value => 1, checked => 1, class => 'checkbox') %]
70 <input type="hidden" name="tax_id_[% loop.count %]" value="[% row.tax_id %]">
71 [% SET rowcount = loop.count %]
73 <input type="hidden" name="rowcount" value="[% rowcount %]">
76 <input type="submit" value="[% 'Continue' | $T8 %]">