-
- Search options |
-
-
- <% include( '/elements/tr-select-agent.html',
+ <& /elements/tr-select-agent.html,
'curr_value' => scalar($cgi->param('agentnum')),
'disable_empty' => 0,
- )
- %>
+ &>
- <% include( '/elements/tr-select-cust_main-status.html',
- 'label' => 'Status'
- )
- %>
+ <& /elements/tr-select-sales.html,
+ 'curr_value' => scalar($cgi->param('salesnum')),
+ 'pre_options' => [ '' => 'all',
+ 0 => '(none)', ],
+ 'disable_empty' => 1,
+ 'th' => 1,
+ &>
+ <& /elements/tr-select-cust_main-status.html,
+ 'label' => emt('Status'),
+ &>
-% foreach my $field (qw( signupdate )) {
+ <& /elements/tr-select-cust_class.html,
+ 'label' => emt('Class'),
+ 'multiple' => 1,
+ 'pre_options' => [ '' => emt('(none)') ],
+ 'all_selected' => 1,
+ &>
-
- <% $label{$field} %> |
+ <& /elements/tr-select-part_referral.html,
+ 'label' => emt('Advertising Source'),
+ 'multiple' => 1,
+ #no, causes customers with disabled ones to disappear
+ #'all_selected' => 1,
+ &>
+
+
+ <% mt('Signup date') |h %> |
+
+ <& /elements/tr-input-beginning_ending.html,
+ prefix => 'signupdate',
+ layout => 'horiz',
+ &>
+
+ |
+
+
+% if ( $conf->exists('cust_main-enable_birthdate') ) {
+
+ <% mt('Date of Birth') |h %> |
+
- <% include( '/elements/tr-input-beginning_ending.html',
- prefix => $field,
- layout => 'horiz',
- )
- %>
+ <& /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',
+ &>
+
+ |
+
% }
- <% include( '/elements/tr-select-payby.html',
- 'payby_type' => 'cust',
- 'multiple' => 1,
- 'curr_value' => { map { $_ => 1 } FS::payby->cust_payby },
- )
- %>
-
- <% include( '/elements/tr-input-lessthan_greaterthan.html',
- label => 'Current balance',
- field => 'current_balance',
- )
- %>
+% 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
+
+ None of these
+
+ |
+
+
+
+