summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-10-23 16:27:29 -0700
committerMark Wells <mark@freeside.biz>2015-10-23 16:29:00 -0700
commit25a4d91b9a95b2cdc20ff440dd06f355f541249b (patch)
treeb2218dbc7aa4150b6b7fe397dd506dc5dc509877
parent16cfc0a3b9efd50ba709426cb029630d6ea793b1 (diff)
fix totals of credited amounts on tax report, #37088
-rw-r--r--FS/FS/Report/Tax.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/Report/Tax.pm b/FS/FS/Report/Tax.pm
index a892a6b87..93fc64435 100644
--- a/FS/FS/Report/Tax.pm
+++ b/FS/FS/Report/Tax.pm
@@ -237,7 +237,7 @@ sub report_internal {
LEFT JOIN ($sales_credit) AS sales_credit USING (billpkgnum)
LEFT JOIN ($exempt_credit) AS exempt_credit USING (billpkgnum, taxnum)
$join_cust_pkg $where AND $nottax
- $group
+ $group_all
";
# also include the exempt-sales credit amount, for the credit report
@@ -256,7 +256,7 @@ sub report_internal {
LEFT JOIN ($exempt_credit) AS exempt_credit USING (taxnum)
JOIN cust_bill_pkg USING (billpkgnum)
$join_cust_pkg $where AND $nottax
- $group
+ $group_all
";
# taxable sales