X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main.html;h=e1ce26dcbc96d0ee09f1d96e0097475067915fba;hp=13f9396b94b96e7535fcc55e8e4cf12e41d382d6;hb=c742a74ec444c4606006a14e814d06e0b1795ea4;hpb=97356847f631d26f42a8fe0ea7adac580e41549c diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html index 13f9396b9..e1ce26dcb 100755 --- a/httemplate/search/report_cust_main.html +++ b/httemplate/search/report_cust_main.html @@ -6,7 +6,7 @@ - + <& /elements/tr-select-agent.html, @@ -14,6 +14,13 @@ 'disable_empty' => 0, &> + <& /elements/tr-select-sales.html, + 'curr_value' => scalar($cgi->param('salesnum')), + 'pre_options' => [ '' => 'all', + 0 => '(none)', ], + 'disable_empty' => 1, + &> + <& /elements/tr-select-cust_main-status.html, 'label' => emt('Status'), &> @@ -33,16 +40,6 @@ &> - - - - - - - - - -
<% mt('Search options') |h %><% mt('Basic search options') |h %>
<% mt('Address') |h %>
<% mt('Zip') |h %>
<% mt('Signup date') |h %> @@ -112,6 +109,126 @@ + + + + + + + + <& /elements/tr-input-text.html, + label => emt('At least this many'), + field => 'with_referrals', + size => 4, + maxlength => 4, + &> + + <& /elements/tr-select-cust_main-status.html, + label => emt('Referral status'), + field => 'referral_status', + &> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <& /elements/tr-select-payby.html, 'payby_type' => 'cust', 'multiple' => 1, @@ -148,13 +265,44 @@ } } - + +% my @exempt_groups = grep /\S/, $conf->config('tax-cust_exempt-groups'); +% unless ( @exempt_groups ) { + +% #falze laziness with With/Without postal mail invoices + + + + + + + + + + + +% } + @@ -165,29 +313,33 @@ &> - - + + -% if ( $conf->exists('enable_taxproducts') ) { - - - - - - -% } - - - + + - + + + @@ -207,6 +359,10 @@ + + + +
 
<% mt('Referral search options') |h %>
 
<% mt('Package search options') |h %>
With +
of class + <& /elements/select-pkg_class.html, + 'field' => 'pkg_classnum', + 'multiple' => 1, + &> +
+ + Any of these +
+ + All of these +
+
 
<% 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('Without census tract') |h %><% mt('With invoicing email address(es)') |h %>
<% mt('With hardcoded tax location') |h %>
<% mt('With email address(es)') |h %><% mt('With postal mail invoices') |h %>
<% mt('Without postal mail invoices') |h %>
 
<% mt('Search historical addresses') %>