X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_cust_bill.html;h=8734467a431ed2e2742f44fb5daee886b4ab5dcb;hb=08e201adbad8a476ef5be26b6cfc790fa350143c;hp=b339c80e07876914d900b5da355539a2021ac949;hpb=ded0ab5cac02f099b387de360fb6dd6bd8cbb6b4;p=freeside.git
diff --git a/httemplate/search/report_cust_bill.html b/httemplate/search/report_cust_bill.html
index b339c80e0..8734467a4 100644
--- a/httemplate/search/report_cust_bill.html
+++ b/httemplate/search/report_cust_bill.html
@@ -4,16 +4,59 @@
-
-
% unless ( $custnum ) {
+
+
+
+
+
+ Customer search options
+ |
+
+
<& /elements/tr-select-agent.html,
'curr_value' => scalar( $cgi->param('agentnum') ),
- 'label' => emt('Invoices for agent: '),
+ 'label' => emt('Agent'),
'disable_empty' => 0,
&>
+
+ <& /elements/tr-select-cust_main-status.html,
+ 'label' => 'Customer status',
+ 'field' => 'cust_status',
+ &>
+
+ <& /elements/tr-select-cust_class.html,
+ label => mt('Customer Class'),
+ field => 'cust_classnum',
+ multiple => 1,
+ 'pre_options' => [ '' => emt('(none)') ],
+ 'all_selected' => 1,
+ &>
+
+% if ( $cust_main ) {
+
+% } else {
+ <& /elements/tr-select-payby.html,
+ label => emt('Payment method:'),
+ payby_type => 'cust',
+ multiple => 1,
+ all_selected => 1,
+ &>
% }
+
+
+
+% }
+
+
+
+
+
+ Invoice search options
+ |
+
+
<& /elements/tr-input-beginning_ending.html &>
<& /elements/tr-input-lessthan_greaterthan.html,
@@ -26,17 +69,6 @@
field => 'owed',
&>
-% if ( $cust_main ) {
-
-% } else {
- <& /elements/tr-select-payby.html,
- label => emt('Payment method:'),
- payby_type => 'cust',
- multiple => 1,
- all_selected => 1,
- &>
-% }
-
% if ( $conf->exists('cust_bill-enable_promised_date') ) {
@@ -53,6 +85,18 @@
% }
+
+
+
+