X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Freport_svc_Common.html;h=d57e64febbd8239d264fd7af296f93c22d4ff5cb;hp=04feb9e45d95ae137675de132d92db76c700d7c1;hb=799674ff4628d92ecc9162b0d0bdcf516099ae7b;hpb=eb26deab89a94f5ba7a2d21fa2a5a98cb7bb8885 diff --git a/httemplate/search/elements/report_svc_Common.html b/httemplate/search/elements/report_svc_Common.html index 04feb9e45..d57e64feb 100644 --- a/httemplate/search/elements/report_svc_Common.html +++ b/httemplate/search/elements/report_svc_Common.html @@ -20,37 +20,63 @@ Example: - - - - - + <% emt('Search options') %> +
<% mt('Search options') |h %>
% 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', + &> + +%# meaning-less in the post-4.x world, customers can have multiple payment +%# methods now + +%# <& /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', + &> + +
+
- -   - - - - <% mt('Display options') |h %> - + <% emt('Display options') %> + % #"package fields" ala advanced svc_acct search? % #move to /elements/tr-select-cust_pkg-fields and use it from there if so... @@ -80,7 +106,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({