[freeside-commits] branch FREESIDE_3_BRANCH updated. e2b9b80255731ec51fae4941e564f63166336a63

Mark Wells mark at 420.am
Mon Nov 2 12:45:34 PST 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  e2b9b80255731ec51fae4941e564f63166336a63 (commit)
      from  3aa784b1324ac14026eb900cf598ad9aec49179a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e2b9b80255731ec51fae4941e564f63166336a63
Author: Mark Wells <mark at freeside.biz>
Date:   Mon Nov 2 12:28:10 2015 -0800

    fix "credited" report column, #37088

diff --git a/httemplate/search/report_tax-xls.cgi b/httemplate/search/report_tax-xls.cgi
index 9b02457..07fcf7c 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});
 

-----------------------------------------------------------------------

Summary of changes:
 httemplate/search/report_tax-xls.cgi |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list