projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add customer class to A/R report, fix "(none)" selection in other reports, RT#22540
[freeside.git]
/
httemplate
/
search
/
customer_accounting_summary.html
diff --git
a/httemplate/search/customer_accounting_summary.html
b/httemplate/search/customer_accounting_summary.html
index
12c8962
..
b48ff21
100644
(file)
--- a/
httemplate/search/customer_accounting_summary.html
+++ b/
httemplate/search/customer_accounting_summary.html
@@
-142,8
+142,6
@@
$title .= $sel_part_referral->referral.' '
$title .= 'Customer Accounting Summary Report';
$title .= 'Customer Accounting Summary Report';
-my @cust_classnums = grep /^\d+$/, $cgi->param('cust_classnum');
-
my @items = ('netsales', 'cashflow');
my @params = ( [], [] );
my $setuprecur = '';
my @items = ('netsales', 'cashflow');
my @params = ( [], [] );
my $setuprecur = '';
@@
-173,7
+171,7
@@
foreach (qw(agentnum refnum status)) {
}
}
$search_hash{'classnum'} = [ $cgi->param('cust_classnum') ]
}
}
$search_hash{'classnum'} = [ $cgi->param('cust_classnum') ]
- if
$cgi->param('cust_classnum')
;
+ if
grep { $_ eq 'cust_classnum' } $cgi->param
;
my $query = FS::cust_main::Search->search(\%search_hash);
my @custs = qsearch($query);
my $query = FS::cust_main::Search->search(\%search_hash);
my @custs = qsearch($query);