3 <h1>[% 'Inconsistency in database' | $T8 %]</h1>
 
   5 <form name="Form" method="post" action="login.pl">
 
   6 <input type="hidden" name="action" value="login">
 
   8 <p>[% 'There is an inconsistancy in your database.' | $T8 %]</p>
 
   9 <p>[% 'Please contact your administrator.' | $T8 %]</p>
 
  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>
 
  16       <th class="listheading">[% 'tax_taxkey' | $T8 %]</th>
 
  17       <th class="listheading">[% 'tax_taxdescription' | $T8 %]</th>
 
  18       <th class="listheading">[% 'tax_rate' | $T8 %]</th>
 
  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>
 
  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>
 
  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>
 
  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>