2 [% USE HTML %]<div class="listtop">[% 'Inconsistency in database' | $T8 %]</div>
 
   4 <form name="Form" method="post" action="login.pl">
 
   5 <input type="hidden" name="action" value="login">
 
   7 <p>[% 'There is an inconsistancy in your database.' | $T8 %]</p>
 
   8 <p>[% 'Please contact your administrator.' | $T8 %]</p>
 
  10 [% IF invalid_tax_account %]
 
  11   <p>[% 'There are invalid taxnumbers in use.' | $T8 %]</p>
 
  12   <p>[% 'Please set another taxnumber for the following taxes and run the update again:' | $T8 %]</p>
 
  15       <th class="listheading">[% 'tax_taxkey' | $T8 %]</th>
 
  16       <th class="listheading">[% 'tax_taxdescription' | $T8 %]</th>
 
  17       <th class="listheading">[% 'tax_rate' | $T8 %]</th>
 
  20     [% SET row_odd = '1' %][% FOREACH row = TAX %]
 
  21     <tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
 
  22       <td align="right">[% HTML.escape(row.taxkey) %]</td>
 
  23       <td align="left"> [% HTML.escape(row.taxdescription) %]</a></td>
 
  24       <td align="right">[% HTML.escape(row.rate) %] %</td>
 
  31 [% IF taxkey_is_null %]
 
  32   <p>[% 'There are entries in tax where taxkey is NULL.' | $T8 %]</p>
 
  33   <p>[% 'Please define a taxkey for the following taxes and run the update again:' | $T8 %]</p>
 
  36       <th class="listheading">[% 'tax_taxdescription' | $T8 %]</th>
 
  37       <th class="listheading">[% 'tax_rate' | $T8 %]</th>
 
  38       <th class="listheading">[% 'taxnumber' | $T8 %]</th>
 
  39       <th class="listheading">[% 'account_description' | $T8 %]</th>
 
  42     [% SET row_odd = '1' %][% FOREACH row = TAX %]
 
  43     <tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
 
  44       <td align="left"> [% HTML.escape(row.taxdescription) %]</a></td>
 
  45       <td align="right">[% HTML.escape(row.rate) %] %</td>
 
  46       <td align="right">[% HTML.escape(row.taxnumber) %]</td>
 
  47       <td>[% HTML.escape(row.account_description) %]</td>