X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Ftax_rate.pm;h=550dca53c8440799e946eea8866f1a7b3fedf878;hb=4e13a8a470a20ee8b59d95bdf4c6b033a4c10a8d;hp=87f2014f597dc7f3f93d4c6536395209e87ff100;hpb=624b2d44625f69d71175c3348cae635d580c890b;p=freeside.git diff --git a/FS/FS/tax_rate.pm b/FS/FS/tax_rate.pm index 87f2014f5..550dca53c 100644 --- a/FS/FS/tax_rate.pm +++ b/FS/FS/tax_rate.pm @@ -1984,13 +1984,13 @@ EOF print $report < <% '$tax->{label}' %> - <% $tax->{base} ? qq!! : '' %> + <% ($tax->{base}) ? qq!! : '' %> <% '$money_char' %><% sprintf('%.2f', $tax->{'tax'} ) %> <% !($tax->{base}) ? qq!! : '' %> - <% $tax->{base} ? qq!! : '' %> + <% ($tax->{base}) ? qq!! : '' %> <% '$money_char' %><% sprintf('%.2f', $tax->{'credit'} ) %>