X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_main.html;h=f139d4bb55347f65d11c406d8d0acfd107e6b920;hb=d1014a727cefa5d9813153594541f62ec15fc8b9;hp=9e8cc8177ab774ba32343055f9fb35b2fe5b00fd;hpb=65dd671102f53f2230a5ba20d826b226e89b2642;p=freeside.git diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html index 9e8cc8177..f139d4bb5 100755 --- a/httemplate/search/report_cust_main.html +++ b/httemplate/search/report_cust_main.html @@ -8,11 +8,19 @@ Search options + <% include( '/elements/tr-select-agent.html', - ($cgi->param('agentnum') || ''), + 'curr_value' => scalar($cgi->param('agentnum')), + 'disable_empty' => 0, ) %> + <% include( '/elements/tr-select-cust_main-status.html', + 'label' => 'Status' + ) + %> + + % foreach my $field (qw( signupdate )) { @@ -29,12 +37,38 @@ % } + + <% 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', + ) + %> + Include cancelled packages +% if ( $conf->exists('cust_main-require_censustract') ) { + + + Without census tract + + + +% } + + +   + + Display options @@ -59,11 +93,13 @@ die "access denied" $FS::CurrentUser::CurrentUser->access_right('List packages') );; +my $conf = new FS::Conf; + <%once> my %label = ( - 'signupdate' => 'Signup Date', + 'signupdate' => 'Signup date', );