diff options
author | Mark Wells <mark@freeside.biz> | 2015-11-02 12:28:10 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-11-02 12:28:22 -0800 |
commit | 14f6a6d7f3417faf1eb87aefdfbdf108aac86161 (patch) | |
tree | 92deea306f645c96cf8dae719724897aa5503eba /httemplate | |
parent | 3f2b717c4abf4131991bd13524c060fe18465377 (diff) |
fix "credited" report column, #37088
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/search/report_tax-xls.cgi | 4 |
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}); |