X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main.html;h=994f9503b4fbfc12ea3c3c99ecdc875979d99588;hb=e679fff4ed72a972cc650a394814e6869719f98b;hp=39cf695d8af5b10f031d727ca8f99c35e27d5152;hpb=cf7cd8efc7095aadbdfb0cd8e7ea0e2e8b9e9085;p=freeside.git diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html index 39cf695d8..994f9503b 100755 --- a/httemplate/search/report_cust_main.html +++ b/httemplate/search/report_cust_main.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'), &> @@ -28,7 +35,8 @@ <& /elements/tr-select-part_referral.html, 'label' => emt('Advertising Source'), 'multiple' => 1, - 'all_selected' => 1, + #no, causes customers with disabled ones to disappear + #'all_selected' => 1, &> @@ -37,6 +45,43 @@ + <% 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 %> @@ -76,11 +121,52 @@ % } - <& /elements/tr-select-cust_tag.html, - 'cgi' => $cgi, - 'is_report' => 1, - 'multiple' => 1, - &> +% if ( $conf->exists('cust_main-enable_anniversary_date') ) { + + + + +% } + + + + + + + + + + <& /elements/tr-select-payby.html, 'payby_type' => 'cust', @@ -118,7 +204,35 @@ } } - + +% my @exempt_groups = grep /\S/, $conf->config('tax-cust_exempt-groups'); +% unless ( @exempt_groups ) { + +% #falze laziness with With/Without postal mail invoices + + + + + + + + + + + +% } + - - + + -% if ( $conf->exists('enable_taxproducts') ) { + + + + - - - - + + + + -% } +
<% mt('Anniversary Date') |h %> + + <& /elements/tr-input-beginning_ending.html, + prefix => 'anniversary_date', + layout => 'horiz', + &> +
+
Tags + <& /elements/select-cust_tag.html, + 'cgi' => $cgi, + 'is_report' => 1, + 'multiple' => 1, + &> +
+ Any of these +
+ All of these +
+
With package of class + <& /elements/select-pkg_class.html, + 'field' => 'pkg_classnum', + 'multiple' => 1, + &> +
+ + Any of these +
+ + All of these +
+
<% mt('Tax exempt') |h %>
<% mt('Not tax exempt') |h %>
<% mt('Invoice terms') |h %> @@ -135,18 +249,32 @@ &>
<% mt('Without census tract') |h %><% mt('With email address(es)') |h %>
<% mt('With postal mail invoices') |h %>
<% mt('With hardcoded tax location') |h %>
<% mt('Without postal mail invoices') |h %>