<% include('/elements/header.html', 'Customer Report' ) %>
<% include( '/elements/tr-select-agent.html', 'curr_value' => scalar($cgi->param('agentnum')), 'disable_empty' => 0, ) %> <% include( '/elements/tr-select-cust_main-status.html', 'label' => 'Status' ) %> <% include( '/elements/tr-select-cust_class.html', 'label' => 'Class', 'multiple' => 1, 'pre_options' => [ '' => '(none)' ], 'all_selected' => 1, ) %> % foreach my $field (qw( signupdate )) { % } <% include( '/elements/tr-select-cust_tag.html', 'cgi' => $cgi, 'is_report' => 1, 'multiple' => 1, ) %> <% include( '/elements/tr-select-payby.html', 'payby_type' => 'cust', 'multiple' => 1, 'all_selected' => 1, ) %> <% include( '/elements/tr-input-lessthan_greaterthan.html', label => 'Current balance', field => 'current_balance', ) %> % if ( $conf->exists('enable_taxproducts') ) { % } <% include( '/elements/tr-select-cust-fields.html' ) %>
Search options
Address
<% $label{$field} %> <% include( '/elements/tr-input-beginning_ending.html', prefix => $field, layout => 'horiz', ) %>
Payment expiration before /
Invoice terms <% include( '/elements/select-terms.html', 'pre_options' => [ '' => 'all' ], 'empty_value' => 'NULL', ) %>
Include cancelled packages
Without census tract
With hardcoded tax location
 
Display options
Add package columns

<% include('/elements/footer.html') %> <%init> die "access denied" unless ( $FS::CurrentUser::CurrentUser->access_right('List customers') && $FS::CurrentUser::CurrentUser->access_right('List packages') ); my $conf = new FS::Conf; <%once> my %label = ( 'signupdate' => 'Signup date', );