From 00d879f025283fd06f5ceaf427cc51fef71620f8 Mon Sep 17 00:00:00 2001 From: jeff Date: Fri, 29 Dec 2006 21:48:49 +0000 Subject: [PATCH] correct bad include, and improve no agent selected condition --- httemplate/elements/select-agent.html | 2 +- httemplate/graph/report_cust_bill_pkg.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/httemplate/elements/select-agent.html b/httemplate/elements/select-agent.html index e85ede5b8..3107ff9d4 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 664aab74e..c81e1e0e8 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' ], -- 2.11.0