summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_credit_bill_pkg.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/cust_credit_bill_pkg.html')
-rw-r--r--httemplate/search/cust_credit_bill_pkg.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/search/cust_credit_bill_pkg.html b/httemplate/search/cust_credit_bill_pkg.html
index 0f7834446..52e0ac6fe 100644
--- a/httemplate/search/cust_credit_bill_pkg.html
+++ b/httemplate/search/cust_credit_bill_pkg.html
@@ -92,6 +92,9 @@ my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
push @where, "cust_bill._date >= $beginning",
"cust_bill._date <= $ending";
+push @where , " payby != 'COMP' "
+ unless $cgi->param('include_comp_cust');
+
if ( $cgi->param('agentnum') =~ /^(\d+)$/ ) {
push @where, "cust_main.agentnum = $1";
}