summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorjeff <jeff>2006-12-29 21:48:49 +0000
committerjeff <jeff>2006-12-29 21:48:49 +0000
commit00d879f025283fd06f5ceaf427cc51fef71620f8 (patch)
treeaa6b6e8a4aa63ef8760df44065acb65a08eefdb6 /httemplate
parent633c48448d9468690b7ad77eb6ff7c660a286658 (diff)
correct bad include, and improve no agent selected condition
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/elements/select-agent.html2
-rw-r--r--httemplate/graph/report_cust_bill_pkg.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/select-agent.html b/httemplate/elements/select-agent.html
index e85ede5..3107ff9 100644
--- a/httemplate/elements/select-agent.html
+++ b/httemplate/elements/select-agent.html
@@ -8,7 +8,7 @@
<% include( '/elements/select-table.html',
'table' => 'agent',
'name_col' => 'agent',
- 'value' => $agentnum,
+ 'value' => $agentnum || '',
'empty_label' => 'all',
'hashref' => { 'disabled' => '' },
'extra_sql' => ' AND '.
diff --git a/httemplate/graph/report_cust_bill_pkg.html b/httemplate/graph/report_cust_bill_pkg.html
index 664aab7..c81e1e0 100644
--- a/httemplate/graph/report_cust_bill_pkg.html
+++ b/httemplate/graph/report_cust_bill_pkg.html
@@ -6,7 +6,7 @@
<% include('/elements/tr-select-from_to.html' ) %>
-<% include('/elements/tr-select-agent.html', 'label' => 'For agent: ' ) %>
+<% include('/elements/tr-select-agent.html', '', 'label' => 'For agent: ' ) %>
<% include('/elements/tr-select-pkg_class.html', '',
'pre_options' => [ '0' => 'all' ],