X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main.html;h=c35ef22d76a092acb4de95c098e3ae80090f39e6;hp=13f9396b94b96e7535fcc55e8e4cf12e41d382d6;hb=8572f2347f879d414a60e8e0dc111fa927d66c14;hpb=97356847f631d26f42a8fe0ea7adac580e41549c diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html index 13f9396b9..c35ef22d7 100755 --- a/httemplate/search/report_cust_main.html +++ b/httemplate/search/report_cust_main.html @@ -3,17 +3,22 @@
- - - - - + <% emt('Basic search options') %> +
<% mt('Search options') |h %>
<& /elements/tr-select-agent.html, 'curr_value' => scalar($cgi->param('agentnum')), 'disable_empty' => 0, &> + <& /elements/tr-select-sales.html, + 'curr_value' => scalar($cgi->param('salesnum')), + 'pre_options' => [ '' => 'all', + 0 => '(none)', ], + 'disable_empty' => 1, + 'th' => 1, + &> + <& /elements/tr-select-cust_main-status.html, 'label' => emt('Status'), &> @@ -33,17 +38,7 @@ &> - - - - - - - - - - - +
<% mt('Address') |h %>
<% mt('Zip') |h %>
<% mt('Signup date') |h %><% mt('Signup date') |h %> <& /elements/tr-input-beginning_ending.html, @@ -56,7 +51,7 @@ % if ( $conf->exists('cust_main-enable_birthdate') ) { - +
<% mt('Date of Birth') |h %><% mt('Date of Birth') |h %> <& /elements/tr-input-beginning_ending.html, @@ -70,7 +65,7 @@ % if ( $conf->exists('cust_main-enable_spouse_birthdate') ) { - +
<% mt('Spouse Date of Birth') |h %><% mt('Spouse Date of Birth') |h %> <& /elements/tr-input-beginning_ending.html, @@ -84,7 +79,7 @@ % if ( $conf->exists('cust_main-enable_anniversary_date') ) { - +
<% mt('Anniversary Date') |h %><% mt('Anniversary Date') |h %> <& /elements/tr-input-beginning_ending.html, @@ -97,7 +92,7 @@ % } - + - <& /elements/tr-select-payby.html, - 'payby_type' => 'cust', - 'multiple' => 1, - 'all_selected' => 1, - &> + + + + + + + + + + +
TagsTags <& /elements/select-cust_tag.html, 'cgi' => $cgi, @@ -112,49 +107,133 @@
With +
of class + <& /elements/select-pkg_class.html, + 'field' => 'pkg_classnum', + 'multiple' => 1, + &> +
+ + Any of these +
+ + All of these +
+
+
+ + <% emt('Location search options') %> + + + + + + - + + + + + + + + + + + + + + + + + + + + + +
<% mt('Address') |h %>
<% mt('Payment expiration before') |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)', + &> +
+
+ + <% emt('Billing search options') %> + + +% my @exempt_groups = grep /\S/, $conf->config('tax-cust_exempt-groups'); +% unless ( @exempt_groups ) { + +% #falze laziness with With/Without postal mail invoices + + + + + + + + + + - +% } + - + @@ -165,45 +244,48 @@ &> - - - - -% if ( $conf->exists('enable_taxproducts') ) { - - - - - - -% } - - - + - - + + - + + - - - + + +
<% mt('Tax exempt') |h %>
<% mt('Not tax exempt') |h %>
<% mt('Invoice terms') |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 hardcoded tax location') |h %>
<% mt('With email address(es)') |h %><% mt('With invoicing email address(es)') |h %>
<% mt('Without postal mail invoices') |h %><% mt('With postal mail invoices') |h %>
 <% mt('Without postal mail invoices') |h %>
<% mt('Display options') |h %>
+
+ + <% emt('Display options') %> + + <& /elements/tr-select-cust-fields.html &> - + - +
<% mt('Add package columns') |h %><% mt('Add package columns') |h %>
<% mt('Include cancelled packages') |h %><% mt('Include cancelled packages') |h %>