projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bdc278d
)
fix "credited" report column, #37088
author
Mark Wells
<mark@freeside.biz>
Mon, 2 Nov 2015 20:28:10 +0000
(12:28 -0800)
committer
Mark Wells
<mark@freeside.biz>
Mon, 2 Nov 2015 20:28:10 +0000
(12:28 -0800)
httemplate/search/report_tax-xls.cgi
patch
|
blob
|
history
diff --git
a/httemplate/search/report_tax-xls.cgi
b/httemplate/search/report_tax-xls.cgi
index
9b02457
..
07fcf7c
100755
(executable)
--- 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++;
$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++;
$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});
$x++;
$ws->write($y, $x, $row->{tax_paid} || 0, $f->{currency});