- <% mt('Signup date') |h %> |
+ <% mt('Signup date') |h %> |
<& /elements/tr-input-beginning_ending.html,
@@ -42,55 +49,145 @@
- <& /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',
+ &>
+
+ |
+
+% }
- <& /elements/tr-select-payby.html,
- 'payby_type' => 'cust',
- 'multiple' => 1,
- 'all_selected' => 1,
- &>
+% 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
+
+ |
+
+
+
+
+
+ <% emt('Package search options') %>
+
+
+
+ <% emt('Location search options') %>
+
+ <& elements/options_cust_location.html &>
+
+
+
+ <% emt('Billing search options') %>
+
+
-% }
+ <% emt('Display options') %>
+
@@ -143,9 +254,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;
|