X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main.html;h=2b406729a2d938196ab2a0576b70d9efad1d8ceb;hb=c7c96355331687b6fd44bfe541b402bd0664481d;hp=526bce26c917289fad18cac8b5fab06756529015;hpb=c1cabbc4cea2e0cfd9e1db668100b97069140cf5;p=freeside.git diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html index 526bce26c..2b406729a 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 %> @@ -90,11 +135,38 @@ % } - <& /elements/tr-select-cust_tag.html, - 'cgi' => $cgi, - 'is_report' => 1, - 'multiple' => 1, - &> + + + + + + + + + <& /elements/tr-select-payby.html, 'payby_type' => 'cust', @@ -132,13 +204,44 @@ } } - + +% my @exempt_groups = grep /\S/, $conf->config('tax-cust_exempt-groups'); +% unless ( @exempt_groups ) { + +% #falze laziness with With/Without postal mail invoices + + + + + + + + + + + +% } + @@ -149,18 +252,32 @@ &> - - + + -% if ( $conf->exists('enable_taxproducts') ) { + + + + - - - - + + + + -% } +
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 %> +% 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 email address(es)') |h %>
<% mt('With postal mail invoices') |h %>
<% mt('With hardcoded tax location') |h %>
<% mt('Without postal mail invoices') |h %>