summaryrefslogtreecommitdiff
path: root/httemplate/search
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-11-03 09:00:21 -0800
committerIvan Kohler <ivan@freeside.biz>2015-11-03 09:00:21 -0800
commita87e91ee19d14a6fc3da62f4b44a9628d32bb6a3 (patch)
tree78215b7fa3967e185b2eeea9d7a4535afb9b9cec /httemplate/search
parent4fdc6b443f4f9f51f0879cc19b2fe8c5ef1dac14 (diff)
parent863c1ca1d9363c8fda3136514cef90584a1f4427 (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/search')
-rwxr-xr-xhttemplate/search/report_tax-xls.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/search/report_tax-xls.cgi b/httemplate/search/report_tax-xls.cgi
index 9b02457b0..07fcf7cfe 100755
--- a/httemplate/search/report_tax-xls.cgi
+++ b/httemplate/search/report_tax-xls.cgi
@@ -207,11 +207,11 @@ foreach my $row (@rows) {
$x++;
$ws->write_string($y, $x, " \N{U+2212} ", $f->{bigmath}); # MINUS SIGN
$x++;
- $ws->write($y, $x, $row->{credit} || 0, $f->{currency});
+ $ws->write($y, $x, $row->{tax_credited} || 0, $f->{currency});
$x++;
$ws->write_string($y, $x, " = ", $f->{bigmath});
$x++;
- $ws->write($y, $x, $row->{tax} - $row->{credit}, $f->{currency});
+ $ws->write($y, $x, $row->{tax} - $row->{tax_credited}, $f->{currency});
$x++;
$ws->write($y, $x, $row->{tax_paid} || 0, $f->{currency});