diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-02-03 12:53:24 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-02-03 12:53:24 -0800 |
commit | 6e2e2e192be2ac9267db44c736de34082262cc65 (patch) | |
tree | 34e5f8677e2b8d5a74045e9d87677ebeca6e118f /httemplate/search/elements/report_svc_Common.html | |
parent | 855e05d13c8fb11862a6961ceccf426939ebe5cc (diff) |
advanced phone number search, RT#21054
Diffstat (limited to 'httemplate/search/elements/report_svc_Common.html')
-rw-r--r-- | httemplate/search/elements/report_svc_Common.html | 38 |
1 files changed, 33 insertions, 5 deletions
diff --git a/httemplate/search/elements/report_svc_Common.html b/httemplate/search/elements/report_svc_Common.html index 04feb9e45..434197078 100644 --- a/httemplate/search/elements/report_svc_Common.html +++ b/httemplate/search/elements/report_svc_Common.html @@ -27,22 +27,50 @@ Example: </TR> % unless ( $custnum ) { + <& /elements/tr-select-agent.html, - 'curr_value' => scalar( $cgi->param('agentnum') ), - 'disable_empty' => 0, + curr_value => scalar( $cgi->param('agentnum') ), + disable_empty => 0, + &> + + <& /elements/tr-select-cust_main-status.html, + label => 'Customer Status', + field => 'cust_status', + &> + + <& /elements/tr-select-payby.html, + label => emt('Payment method:'), + payby_type => 'cust', + multiple => 1, + all_selected => 1, + &> + + <& /elements/tr-input-money.html, + label => 'Balance over', + field => 'balance', + &> + + <& /elements/tr-input-text.html, + label => 'Balance age (days)', + field => 'balance_days', + size => 4, &> +% } + % # just this customer's domains? %# <& /elements/tr-select-domain.html, %# 'element_name' => 'domsvc', %# 'curr_value' => scalar( $cgi->param('domsvc') ), %# 'disable_empty' => 0, %# &> -% } <& /elements/tr-selectmultiple-part_pkg.html &> - <& /elements/tr-select-part_svc.html, 'svcdb'=>$svcdb &> + <& /elements/tr-select-part_svc.html, + 'svcdb' => $svcdb, + 'label' => 'Services', + &> <TR> <TH CLASS="background" COLSPAN=2> </TH> @@ -80,7 +108,7 @@ die "access denied" my $title = $opt{'title'}; #false laziness w/report_cust_pkg.html -my $custnum = ''; +my( $custnum, $cust_main) = ('', ''); if ( $cgi->param('custnum') =~ /^(\d+)$/ ) { $custnum = $1; my $cust_main = qsearchs({ |