X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main.html;h=cacb7de6e99b93692779aad0c6ab8bc692073d7e;hb=0f12bb525e362f0eb97085079c3046c4bf2f6e64;hp=994f9503b4fbfc12ea3c3c99ecdc875979d99588;hpb=34add44f0e88aac782264a2febc59b8f48d7ca52;p=freeside.git diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html index 994f9503b..cacb7de6e 100755 --- a/httemplate/search/report_cust_main.html +++ b/httemplate/search/report_cust_main.html @@ -6,7 +6,7 @@ - + <& /elements/tr-select-agent.html, @@ -40,48 +40,6 @@ &> - - - - - - - - - - - - - - - - - - - - - - - - - -
<% mt('Search options') |h %><% mt('Basic search options') |h %>
<% mt('Address') |h %>
<% mt('County') |h %> - <& /elements/select-county.html, - disable_empty => 0, - empty_label => '(all)', - &> -
<% mt('State') |h %> - <& /elements/select-state.html, - disable_empty => 0, - empty_label => '(all)', - &> -
<% mt('Zip') |h %>
<% mt('Country') |h %> - <& /elements/select-country.html, - disable_empty => 0, - state_disable_empty => 0, - state_empty_label => '(all)', - &> -
<% mt('Signup date') |h %> @@ -168,6 +126,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <& /elements/tr-select-payby.html, 'payby_type' => 'cust', 'multiple' => 1, @@ -236,9 +262,12 @@ @@ -249,7 +278,7 @@ &> - +
 
<% mt('Location search options') |h %>
<% mt('Address') |h %>
<% mt('City') |h %> + <& /elements/city.html, + disable_empty => 0, + empty_label => '(all)', + disable_text => 1, + &> +
<% mt('County') |h %> + <& /elements/select-county.html, + disable_empty => 0, + empty_label => '(all)', + &> +
<% mt('State') |h %> + <& /elements/select-state.html, + disable_empty => 0, + empty_label => '(all)', + &> +
<% mt('Zip') |h %>
<% mt('Country') |h %> + <& /elements/select-country.html, + disable_empty => 0, + state_disable_empty => 0, + state_empty_label => '(all)', + &> +
 
<% mt('Billing search options') |h %>
<% mt('Invoice terms') |h %> +% my @agentnums = $FS::CurrentUser::CurrentUser->agentnums; +% my $agentnum = scalar(@agentnums) == 1 ? $agentnums[0] : ''; <& /elements/select-terms.html, - 'pre_options' => [ '' => emt('all') ], - 'empty_value' => 'NULL', + 'pre_options' => [ '' => emt('all') ], + 'empty_value' => 'NULL', + 'agentnum' => $agentnum, &>
<% mt('With email address(es)') |h %><% mt('With invoicing email address(es)') |h %>