my $where = "1 = 1";
- unless ( $::auth->assert('show_ar_transactions', 1) ) {
+ unless ( $::auth->assert('show_ar_transactions', 1) ) {
$where .= " AND NOT invoice = 'f' "; # remove ar transactions from Sales -> Reports -> Invoices
};
<br>
[% title_table %]
-<input type=hidden name="do_migrate" value="1">
+<input type=hidden name="do_migrate" value="1">
<input type=submit VALUE="submit">
</form>
<th class="listheading">[% 'tax_taxdescription' | $T8 %]</th>
<th class="listheading">[% 'tax_rate' | $T8 %]</th>
</tr>
-
+
[% SET row_odd = '1' %][% FOREACH row = TAX %]
<tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
<td align="right">[% HTML.escape(row.taxkey) %]</td>
</tr>
[% END %]
</table>
-
+
[% END %]
-
+
[% IF taxkey_is_null %]
<p>[% 'There are entries in tax where taxkey is NULL.' | $T8 %]</p>
<p>[% 'Please define a taxkey for the following taxes and run the update again:' | $T8 %]</p>
<th class="listheading">[% 'taxnumber' | $T8 %]</th>
<th class="listheading">[% 'account_description' | $T8 %]</th>
</tr>
-
+
[% SET row_odd = '1' %][% FOREACH row = TAX %]
<tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
<td align="left"> [% HTML.escape(row.taxdescription) %]</a></td>
</tr>
[% END %]
</table>
-
+
[% END %]
</form>
<div class="message_error">[% IF title_error %][% title_error %][% ELSE %][% 'Error!' | $T8 %][% END %]
<p class="message_error_label">[% label_error %]</p>
</div>
-
+
<p style="text-align: left;"><input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]"></p>
-
+
[%- IF SHOW_BACK_BUTTON %]
<form>
<p>
<form method="post" action="ic.pl">
[%- FOREACH row = HIDDENS %]
- <input type="hidden" name="[% HTML.escape(row.name) %]" value="[% HTML.escape(row.value) %]" >
+ <input type="hidden" name="[% HTML.escape(row.name) %]" value="[% HTML.escape(row.value) %]" >
[%- END %]
<p>