X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main.html;h=bac4346cf7bf6facd036bfae65faa70dc3bab4fa;hp=d4ed2ad87a30fb64d5bb2d7b123b8931df8bc806;hb=3d0a1bb06b895c5be6e3f0517d355442a6b1e125;hpb=2db5d3e1c4d5a48ad15b59efd2f66957937421aa diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html index d4ed2ad87..bac4346cf 100755 --- a/httemplate/search/report_cust_main.html +++ b/httemplate/search/report_cust_main.html @@ -1,4 +1,4 @@ -<& /elements/header.html, emt('Customer Report') &> +<& /elements/header.html, mt('Customer Report') &>
@@ -25,10 +25,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 %> @@ -42,11 +54,63 @@ - <& /elements/tr-select-cust_tag.html, - 'cgi' => $cgi, - 'is_report' => 1, - 'multiple' => 1, - &> +% if ( $conf->exists('cust_main-enable_birthdate') ) { + + <% mt('Date of Birth') |h %> + + + <& /elements/tr-input-beginning_ending.html, + prefix => 'birthdate', + layout => 'horiz', + &> +
+ + +% } + +% if ( $conf->exists('cust_main-enable_spouse_birthdate') ) { + + <% mt('Spouse Date of Birth') |h %> + + + <& /elements/tr-input-beginning_ending.html, + prefix => 'spouse_birthdate', + layout => 'horiz', + &> +
+ + +% } + +% 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 +
+ + <& /elements/tr-select-payby.html, 'payby_type' => 'cust', @@ -101,11 +165,6 @@ &> - <% mt('Include cancelled packages') |h %> - - - - <% mt('Without census tract') |h %> @@ -120,6 +179,34 @@ % } + <% mt('With email address(es)') |h %> + + + + + <% mt('With postal mail invoices') |h %> + + + + + <% mt('Without postal mail invoices') |h %> + + + + + +   @@ -132,6 +219,12 @@ <% mt('Add package columns') |h %> + + + <% mt('Include cancelled packages') |h %> + + +
@@ -143,9 +236,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;