X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main.html;h=3dd92af2e55e0b162210639de85b02d1c5f84386;hp=bac4346cf7bf6facd036bfae65faa70dc3bab4fa;hb=6b5dda03831aef0cb5689cf2acf3fac47e4b12cb;hpb=54a357b171aa44f9399b4c146acd2afd3b686075 diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html index bac4346cf..3dd92af2e 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, @@ -107,54 +102,121 @@
Any of these
- All of these + All of these +
+ None of these
+
+ + <% emt('Referral search options') %> + + + <& /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', + &> + +
+
+ + <% emt('Package search options') %> + + + + + + + + + + + + +
With +
of class + <& /elements/select-pkg_class.html, + 'field' => 'pkg_classnum', + 'multiple' => 1, + &> +
+ + Any of these +
+ + All of these +
+
+
+ + <% emt('Location search options') %> + + <& elements/options_cust_location.html &> + <& elements/cust_main_phones.html &> +
+
+ + <% emt('Contacts search options') %> + + <& elements/options_cust_contacts.html, + 'pre_fix' => 'contacts_', &> +
+
+ + <% 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,31 +227,17 @@ &> - - - - -% if ( $conf->exists('enable_taxproducts') ) { - - - - - - -% } - - - + - + - + @@ -206,22 +254,21 @@ } - - - +
<% mt('Tax exempt') |h %>
<% mt('Payment expiration before') |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('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 %>