allow all-agent reporting again
authorivan <ivan>
Wed, 10 Dec 2008 21:43:43 +0000 (21:43 +0000)
committerivan <ivan>
Wed, 10 Dec 2008 21:43:43 +0000 (21:43 +0000)
12 files changed:
httemplate/search/cust_bill_event.html
httemplate/search/report_cust_bill.html
httemplate/search/report_cust_credit.html
httemplate/search/report_cust_event.html
httemplate/search/report_cust_main-zip.html
httemplate/search/report_cust_main.html
httemplate/search/report_cust_pay.html
httemplate/search/report_cust_pay_batch.html
httemplate/search/report_cust_pkg.html
httemplate/search/report_newtax.html
httemplate/search/report_svc_acct.html
httemplate/search/report_tax.html

index 87bb3b7..0f84a55 100755 (executable)
@@ -11,7 +11,7 @@
     <INPUT TYPE="hidden" NAME="failed" VALUE="<% $cgi->param('failed') ? 1 : 0 %>">
     <TABLE>
 
-      <% include( '/elements/tr-select-agent.html' ) %>
+      <% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %>
 
       <!--<TR>
         <TD ALIGN="right">Customer type</TD>
index e82ff34..96cf492 100644 (file)
@@ -6,8 +6,9 @@
 <TABLE BGCOLOR="#cccccc" CELLSPACING=0
 
   <% include( '/elements/tr-select-agent.html',
-                 'curr_value' => scalar( $cgi->param('agentnum') ),
-                 'label'      => 'Invoices for agent: ',
+                 'curr_value'    => scalar( $cgi->param('agentnum') ),
+                 'label'         => 'Invoices for agent: ',
+                 'disable_empty' => 0,
              )
   %>
   <% include( '/elements/tr-input-beginning_ending.html' ) %>
index be02e9f..9c719b7 100644 (file)
@@ -12,8 +12,9 @@
   %>
 
   <% include( '/elements/tr-select-agent.html',
-                 'curr_value' => scalar( $cgi->param('agentnum') ),
-                 'label'      => 'for agent: ',
+                 'curr_value'    => scalar( $cgi->param('agentnum') ),
+                 'label'         => 'for agent: ',
+                 'disable_empty' => 0,
              )
   %>
 
index c1f9edb..e63b637 100644 (file)
@@ -8,7 +8,7 @@
     <INPUT TYPE="hidden" NAME="failed" VALUE="<% $cgi->param('failed') ? 1 : 0 %>">
     <TABLE>
 
-      <% include( '/elements/tr-select-agent.html' ) %>
+      <% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %>
 
       <!--<TR>
         <TD ALIGN="right">Customer type</TD>
index 19b7ecc..aa802f3 100644 (file)
@@ -34,8 +34,9 @@
       </TR>
 
       <% include( '/elements/tr-select-agent.html',
-                     'curr_value' => scalar( $cgi->param('agentnum') ),
-                     'label'      => 'For agent: ',
+                     'curr_value'    => scalar( $cgi->param('agentnum') ),
+                     'label'         => 'For agent: ',
+                     'disable_empty' => 0,
                  )
       %>
 
index 6f5b38d..b0c5fde 100755 (executable)
@@ -10,7 +10,8 @@
     </TR>
 
     <% include( '/elements/tr-select-agent.html',
-                   ($cgi->param('agentnum') || ''),
+                  'curr_value'    => scalar($cgi->param('agentnum')),
+                  'disable_empty' => 0,
                )
     %>
 
index d7cb0ae..0627131 100644 (file)
@@ -49,8 +49,9 @@
   </TR>
 
   <% include( '/elements/tr-select-agent.html',
-                 'curr_value' => scalar($cgi->param('agentnum')),
-                 'label'      => 'for agent: ',
+                 'curr_value'    => scalar($cgi->param('agentnum')),
+                 'label'         => 'for agent: ',
+                 'disable_empty' => 0,
              )
   %>
 
index 0cd656c..2d3ef06 100644 (file)
@@ -16,8 +16,9 @@
   </TR>
 
   <% include( '/elements/tr-select-agent.html',
-                 'curr_value' => scalar( $cgi->param('agentnum') ),
-                 'label'      => 'For agent: ',
+                 'curr_value'    => scalar( $cgi->param('agentnum') ),
+                 'label'         => 'For agent: ',
+                 'disable_empty' => 0
              )
   %>
 
index d210446..aef1c24 100755 (executable)
@@ -12,7 +12,8 @@
     </TR>
 
     <% include( '/elements/tr-select-agent.html',
-                   'curr_value' => scalar( $cgi->param('agentnum') ),
+                   'curr_value'    => scalar( $cgi->param('agentnum') ),
+                   'disable_empty' => 0,
                )
     %>
 
index 52f9202..daf2d23 100755 (executable)
@@ -4,7 +4,7 @@
 
 <TABLE>
 
- <% include( '/elements/tr-select-agent.html' ) %>
+ <% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %>
 
  <% include( '/elements/tr-input-beginning_ending.html' ) %>
 
index 6a837fe..e763251 100755 (executable)
@@ -9,7 +9,8 @@
       <TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
     </TR>
     <% include( '/elements/tr-select-agent.html',
-                   ($cgi->param('agentnum') || ''),
+                   'curr_value'    => scalar($cgi->param('agentnum')),
+                   'disable_empty' => 0,
                )
     %>
 
index 35b290c..e5ffa9a 100755 (executable)
@@ -4,7 +4,7 @@
 
 <TABLE>
 
- <% include( '/elements/tr-select-agent.html' ) %>
+ <% include( '/elements/tr-select-agent.html', 'disable_empty'=>0 ) %>
 
  <% include( '/elements/tr-input-beginning_ending.html' ) %>
 % my $conf = new FS::Conf;