X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main.html;h=b6be023f637acece999aa388e262a861b610c881;hp=4309fbb7fcde52fc40ab8a384f2661c5715fed07;hb=ff27c3f36240aee48ed50153dd5d8fe3ac3f2443;hpb=701888cb344e68274df2f95494a5c48b0773d908 diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html index 4309fbb7f..b6be023f6 100755 --- a/httemplate/search/report_cust_main.html +++ b/httemplate/search/report_cust_main.html @@ -3,11 +3,8 @@
- - - - - + <% emt('Basic search options') %> +
<% mt('Search options') |h %>
<& /elements/tr-select-agent.html, 'curr_value' => scalar($cgi->param('agentnum')), @@ -19,6 +16,7 @@ 'pre_options' => [ '' => 'all', 0 => '(none)', ], 'disable_empty' => 1, + 'th' => 1, &> <& /elements/tr-select-cust_main-status.html, @@ -40,17 +38,7 @@ &> - - - - - - - - - - - +
<% mt('Address') |h %>
<% mt('Zip') |h %>
<% mt('Signup date') |h %><% mt('Signup date') |h %> <& /elements/tr-input-beginning_ending.html, @@ -63,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, @@ -77,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, @@ -91,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, @@ -104,7 +92,7 @@ % } - + +
TagsTags <& /elements/select-cust_tag.html, 'cgi' => $cgi, @@ -119,8 +107,23 @@
+
+ + <% emt('Package search options') %> + + - + + + + + + - <& /elements/tr-select-payby.html, - 'payby_type' => 'cust', - 'multiple' => 1, - 'all_selected' => 1, - &> +
With package of classWith +
of class <& /elements/select-pkg_class.html, 'field' => 'pkg_classnum', @@ -136,49 +139,107 @@
+
+ + <% 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 + + + + + + + + + + - +% } + - + @@ -189,17 +250,17 @@ &> - + - + - + @@ -216,22 +277,21 @@ } - - - +
<% 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('With email address(es)') |h %><% mt('With invoicing email address(es)') |h %>
<% mt('With postal mail invoices') |h %><% mt('With postal mail invoices') |h %>
<% mt('Without postal mail invoices') |h %><% mt('Without postal mail invoices') |h %>
 
+
+ + <% emt('Display options') %> + - - - <& /elements/tr-select-cust-fields.html &> - + - +
<% mt('Display options') |h %>
<% mt('Add package columns') |h %><% mt('Add package columns') |h %>
<% mt('Include cancelled packages') |h %><% mt('Include cancelled packages') |h %>