Layout: title Ausgabe normalisieren
[kivitendo-erp.git] / templates / webpages / dbupgrade / tax_constraints.html
1 [%- USE T8 %]
2 [% USE HTML %]
3 <h1>[% 'Inconsistency in database' | $T8 %]</h1>
4
5 <form name="Form" method="post" action="login.pl">
6 <input type="hidden" name="action" value="login">
7
8 <p>[% 'There is an inconsistancy in your database.' | $T8 %]</p>
9 <p>[% 'Please contact your administrator.' | $T8 %]</p>
10
11 [% IF invalid_tax_account %]
12   <p>[% 'There are invalid taxnumbers in use.' | $T8 %]</p>
13   <p>[% 'Please set another taxnumber for the following taxes and run the update again:' | $T8 %]</p>
14   <table>
15     <tr>
16       <th class="listheading">[% 'tax_taxkey' | $T8 %]</th>
17       <th class="listheading">[% 'tax_taxdescription' | $T8 %]</th>
18       <th class="listheading">[% 'tax_rate' | $T8 %]</th>
19     </tr>
20
21     [% SET row_odd = '1' %][% FOREACH row = TAX %]
22     <tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
23       <td align="right">[% HTML.escape(row.taxkey) %]</td>
24       <td align="left"> [% HTML.escape(row.taxdescription) %]</a></td>
25       <td align="right">[% HTML.escape(row.rate) %] %</td>
26     </tr>
27     [% END %]
28   </table>
29
30 [% END %]
31
32 [% IF taxkey_is_null %]
33   <p>[% 'There are entries in tax where taxkey is NULL.' | $T8 %]</p>
34   <p>[% 'Please define a taxkey for the following taxes and run the update again:' | $T8 %]</p>
35   <table>
36     <tr>
37       <th class="listheading">[% 'tax_taxdescription' | $T8 %]</th>
38       <th class="listheading">[% 'tax_rate' | $T8 %]</th>
39       <th class="listheading">[% 'taxnumber' | $T8 %]</th>
40       <th class="listheading">[% 'account_description' | $T8 %]</th>
41     </tr>
42
43     [% SET row_odd = '1' %][% FOREACH row = TAX %]
44     <tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
45       <td align="left"> [% HTML.escape(row.taxdescription) %]</a></td>
46       <td align="right">[% HTML.escape(row.rate) %] %</td>
47       <td align="right">[% HTML.escape(row.taxnumber) %]</td>
48       <td>[% HTML.escape(row.account_description) %]</td>
49     </tr>
50     [% END %]
51   </table>
52
53 [% END %]
54 </form>