summaryrefslogtreecommitdiff
path: root/FS/FS/Report
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:28:30 -0700
commitbeb4c90e57b8063677a556a1a0bf10395ca49d4e (patch)
tree780539ea9ebec3d05d04821d29ee9a036b25b608 /FS/FS/Report
parent49ba2ca1d1b5e642f0f988e849ca7d1ea89b4dd6 (diff)
fix totals of credited amounts on tax report, #37088
Diffstat (limited to 'FS/FS/Report')
-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 a892a6b..93fc644 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