summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2008-12-10 21:43:43 +0000
committerivan <ivan>2008-12-10 21:43:43 +0000
commit5836672804f6285e914061b18bcb8d18139e4783 (patch)
tree96d9338f514ff99141af3834790ba9f956e553e3
parent73de2464e855e941c4c90555be002866eec340ac (diff)
allow all-agent reporting again
-rwxr-xr-xhttemplate/search/cust_bill_event.html2
-rw-r--r--httemplate/search/report_cust_bill.html5
-rw-r--r--httemplate/search/report_cust_credit.html5
-rw-r--r--httemplate/search/report_cust_event.html2
-rw-r--r--httemplate/search/report_cust_main-zip.html5
-rwxr-xr-xhttemplate/search/report_cust_main.html3
-rw-r--r--httemplate/search/report_cust_pay.html5
-rw-r--r--httemplate/search/report_cust_pay_batch.html5
-rwxr-xr-xhttemplate/search/report_cust_pkg.html3
-rwxr-xr-xhttemplate/search/report_newtax.html2
-rwxr-xr-xhttemplate/search/report_svc_acct.html3
-rwxr-xr-xhttemplate/search/report_tax.html2
12 files changed, 25 insertions, 17 deletions
diff --git a/httemplate/search/cust_bill_event.html b/httemplate/search/cust_bill_event.html
index 87bb3b7..0f84a55 100755
--- a/httemplate/search/cust_bill_event.html
+++ b/httemplate/search/cust_bill_event.html
@@ -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>
diff --git a/httemplate/search/report_cust_bill.html b/httemplate/search/report_cust_bill.html
index e82ff34..96cf492 100644
--- a/httemplate/search/report_cust_bill.html
+++ b/httemplate/search/report_cust_bill.html
@@ -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' ) %>
diff --git a/httemplate/search/report_cust_credit.html b/httemplate/search/report_cust_credit.html
index be02e9f..9c719b7 100644
--- a/httemplate/search/report_cust_credit.html
+++ b/httemplate/search/report_cust_credit.html
@@ -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,
)
%>
diff --git a/httemplate/search/report_cust_event.html b/httemplate/search/report_cust_event.html
index c1f9edb..e63b637 100644
--- a/httemplate/search/report_cust_event.html
+++ b/httemplate/search/report_cust_event.html
@@ -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>
diff --git a/httemplate/search/report_cust_main-zip.html b/httemplate/search/report_cust_main-zip.html
index 19b7ecc..aa802f3 100644
--- a/httemplate/search/report_cust_main-zip.html
+++ b/httemplate/search/report_cust_main-zip.html
@@ -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,
)
%>
diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html
index 6f5b38d..b0c5fde 100755
--- a/httemplate/search/report_cust_main.html
+++ b/httemplate/search/report_cust_main.html
@@ -10,7 +10,8 @@
</TR>
<% include( '/elements/tr-select-agent.html',
- ($cgi->param('agentnum') || ''),
+ 'curr_value' => scalar($cgi->param('agentnum')),
+ 'disable_empty' => 0,
)
%>
diff --git a/httemplate/search/report_cust_pay.html b/httemplate/search/report_cust_pay.html
index d7cb0ae..0627131 100644
--- a/httemplate/search/report_cust_pay.html
+++ b/httemplate/search/report_cust_pay.html
@@ -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,
)
%>
diff --git a/httemplate/search/report_cust_pay_batch.html b/httemplate/search/report_cust_pay_batch.html
index 0cd656c..2d3ef06 100644
--- a/httemplate/search/report_cust_pay_batch.html
+++ b/httemplate/search/report_cust_pay_batch.html
@@ -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
)
%>
diff --git a/httemplate/search/report_cust_pkg.html b/httemplate/search/report_cust_pkg.html
index d210446..aef1c24 100755
--- a/httemplate/search/report_cust_pkg.html
+++ b/httemplate/search/report_cust_pkg.html
@@ -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,
)
%>
diff --git a/httemplate/search/report_newtax.html b/httemplate/search/report_newtax.html
index 52f9202..daf2d23 100755
--- a/httemplate/search/report_newtax.html
+++ b/httemplate/search/report_newtax.html
@@ -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' ) %>
diff --git a/httemplate/search/report_svc_acct.html b/httemplate/search/report_svc_acct.html
index 6a837fe..e763251 100755
--- a/httemplate/search/report_svc_acct.html
+++ b/httemplate/search/report_svc_acct.html
@@ -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,
)
%>
diff --git a/httemplate/search/report_tax.html b/httemplate/search/report_tax.html
index 35b290c..e5ffa9a 100755
--- a/httemplate/search/report_tax.html
+++ b/httemplate/search/report_tax.html
@@ -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;