X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main.html;h=0ef5a5196b30eb1f60931436eff85e7552abf5ac;hb=8dba5cb96454bf8ec81333ebac381180731396f1;hp=6f5b38df3157df4c5d13493d99539fae80a3f9d8;hpb=3e200e9a6316815514fe1b5d2e04364ef2e34b63;p=freeside.git diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html index 6f5b38df3..0ef5a5196 100755 --- a/httemplate/search/report_cust_main.html +++ b/httemplate/search/report_cust_main.html @@ -1,4 +1,4 @@ -<% include('/elements/header.html', 'Customer Report' ) %> +<& /elements/header.html, mt('Customer Report') &>
@@ -6,88 +6,147 @@ - + - <% include( '/elements/tr-select-agent.html', - ($cgi->param('agentnum') || ''), - ) - %> + <& /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-cust_main-status.html, + 'label' => emt('Status'), + &> + <& /elements/tr-select-cust_class.html, + 'label' => emt('Class'), + 'multiple' => 1, + 'pre_options' => [ '' => emt('(none)') ], + 'all_selected' => 1, + &> -% foreach my $field (qw( signupdate )) { + + + + - - + + - + -% } + <& /elements/tr-select-cust_tag.html, + 'cgi' => $cgi, + 'is_report' => 1, + 'multiple' => 1, + &> - <% include( '/elements/tr-select-payby.html', - 'payby_type' => 'cust', - 'multiple' => 1, - 'curr_value' => { map { $_ => 1 } FS::payby->cust_payby }, - ) - %> + <& /elements/tr-select-payby.html, + 'payby_type' => 'cust', + 'multiple' => 1, + 'all_selected' => 1, + &> + + + + + + + + + + + + - <% include( '/elements/tr-input-lessthan_greaterthan.html', - label => 'Current balance', + <& /elements/tr-input-lessthan_greaterthan.html, + label => emt('Current balance'), field => 'current_balance', - ) - %> + &> - + - + + +% if ( $conf->exists('enable_taxproducts') ) { + + + + + + +% } + - + - <% include( '/elements/tr-select-cust-fields.html' ) %> - + + + <& /elements/tr-select-cust-fields.html &> + + +
Search options<% mt('Search options') |h %>
<% mt('Address') |h %>
<% $label{$field} %>
<% mt('Signup date') |h %> - - <% include( '/elements/tr-input-beginning_ending.html', - prefix => $field, - layout => 'horiz', - ) - %> -
+ + <& /elements/tr-input-beginning_ending.html, + prefix => 'signupdate', + layout => 'horiz', + &> +
<% mt('Payment expiration before') |h %> + + / + +
<% mt('Invoice terms') |h %> + <& /elements/select-terms.html, + 'pre_options' => [ '' => emt('all') ], + 'empty_value' => 'NULL', + &> +
Include cancelled packages<% mt('Include cancelled packages') |h %>
 <% mt('Without census tract') |h %>
<% mt('With hardcoded tax location') |h %>
Display options 
Add package columns<% mt('Display options') |h %>
<% mt('Add package columns') |h %>

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