correct bad include, and improve no agent selected condition
authorjeff <jeff>
Fri, 29 Dec 2006 21:48:49 +0000 (21:48 +0000)
committerjeff <jeff>
Fri, 29 Dec 2006 21:48:49 +0000 (21:48 +0000)
httemplate/elements/select-agent.html
httemplate/graph/report_cust_bill_pkg.html

index e85ede5..3107ff9 100644 (file)
@@ -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 '.
index 664aab7..c81e1e0 100644 (file)
@@ -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' ],