X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main.html;h=81d5d5891fe1e0a4c734721dfa09baf8ad8679bb;hb=a36d5bbb21a67515e6560547669bd80fc2b3a8d9;hp=16a8122e82aa109f1f8fad388e582497c607ec06;hpb=40f25b8932a3e9830b688ee528ede1dad213c858;p=freeside.git diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html index 16a8122e8..81d5d5891 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 %> @@ -151,8 +109,24 @@ + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <& /elements/tr-select-payby.html, 'payby_type' => 'cust', 'multiple' => 1, @@ -204,13 +246,44 @@ } } - + +% my @exempt_groups = grep /\S/, $conf->config('tax-cust_exempt-groups'); +% unless ( @exempt_groups ) { + +% #falze laziness with With/Without postal mail invoices + + + + + + + + + + + +% } + @@ -221,7 +294,7 @@ &> - + @@ -267,6 +340,10 @@ + + + +
 
<% mt('Package search options') |h %>
With package of classWith +
of class <& /elements/select-pkg_class.html, 'field' => 'pkg_classnum', @@ -168,6 +142,74 @@
 
<% 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('Tax exempt') |h %>
<% mt('Not tax exempt') |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 %>
<% mt('Search historical addresses') %>