From: jeff Date: Fri, 29 Dec 2006 21:48:49 +0000 (+0000) Subject: correct bad include, and improve no agent selected condition X-Git-Tag: TRIXBOX_2_6~786 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=00d879f025283fd06f5ceaf427cc51fef71620f8;hp=633c48448d9468690b7ad77eb6ff7c660a286658;p=freeside.git correct bad include, and improve no agent selected condition --- 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' ],