X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main.html;h=4309fbb7fcde52fc40ab8a384f2661c5715fed07;hb=c7bc6770f2f0b4413b788f8fc9abde6ad5548da3;hp=c7a3ad95456d878a1a295f0a142ec77a015d9502;hpb=cfcc4c14a40c84d1603c707066e7644aefef5690;p=freeside.git diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html index c7a3ad954..4309fbb7f 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'), &> @@ -25,10 +32,22 @@ 'all_selected' => 1, &> + <& /elements/tr-select-part_referral.html, + 'label' => emt('Advertising Source'), + 'multiple' => 1, + #no, causes customers with disabled ones to disappear + #'all_selected' => 1, + &> + <% mt('Address') |h %> + + + <% mt('Zip') |h %> + + <% mt('Signup date') |h %> @@ -70,11 +89,52 @@ % } - <& /elements/tr-select-cust_tag.html, - 'cgi' => $cgi, - 'is_report' => 1, - 'multiple' => 1, - &> +% if ( $conf->exists('cust_main-enable_anniversary_date') ) { + + <% 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 +
+ + <& /elements/tr-select-payby.html, 'payby_type' => 'cust', @@ -129,23 +189,32 @@ &> - <% mt('Include cancelled packages') |h %> - + <% mt('With email address(es)') |h %> + - <% mt('Without census tract') |h %> - + <% mt('With postal mail invoices') |h %> + -% if ( $conf->exists('enable_taxproducts') ) { - - - <% mt('With hardcoded tax location') |h %> - - + + <% mt('Without postal mail invoices') |h %> + + -% } +   @@ -160,6 +229,12 @@ <% mt('Add package columns') |h %> + + + <% mt('Include cancelled packages') |h %> + + +
@@ -171,9 +246,7 @@ <%init> die "access denied" - unless ( $FS::CurrentUser::CurrentUser->access_right('List customers') && - $FS::CurrentUser::CurrentUser->access_right('List packages') - ); + unless $FS::CurrentUser::CurrentUser->access_right('Advanced customer search'); my $conf = new FS::Conf;