summaryrefslogtreecommitdiff
path: root/httemplate/search/report_prepaid_income.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/report_prepaid_income.cgi')
-rw-r--r--httemplate/search/report_prepaid_income.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/search/report_prepaid_income.cgi b/httemplate/search/report_prepaid_income.cgi
index 2fe5b6f10..bfb699b54 100644
--- a/httemplate/search/report_prepaid_income.cgi
+++ b/httemplate/search/report_prepaid_income.cgi
@@ -108,6 +108,10 @@ my @where = ();
#here is the agent virtualization
push @where, $curuser->agentnums_sql( 'table'=>'cust_main' );
+#well, because cust_bill_pkg.cgi has it and without it the numbers don't match..
+push @where , " payby != 'COMP' "
+ unless $cgi->param('include_comp_cust');
+
my %total = ();
my %total_legacy = ();
foreach my $agentnum (@agentnums) {