From e65c6a26ca778166aec2b2d1dd3012ab84fa611a Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 7 May 2006 20:27:21 +0000 Subject: first pass at sales reports per agent and package class --- httemplate/elements/select-pkg_class.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'httemplate/elements/select-pkg_class.html') diff --git a/httemplate/elements/select-pkg_class.html b/httemplate/elements/select-pkg_class.html index 5486e0877..032c7abda 100644 --- a/httemplate/elements/select-pkg_class.html +++ b/httemplate/elements/select-pkg_class.html @@ -1,16 +1,17 @@ <% my( $classnum, %opt ) = @_; - my %select_opt = (); - $select_opt{'records'} = $opt{'pkg_class'} + $opt{'records'} = delete $opt{'pkg_class'} if $opt{'pkg_class'}; + #warn "***** select-pkg-class: \n". Dumper(%opt); + %><%= include( '/elements/select-table.html', 'table' => 'pkg_class', 'name_col' => 'classname', 'value' => $classnum, 'empty_label' => '(none)', #'hashref' => { 'disabled' => '' }, - #%select_opt, + %opt, ) %> -- cgit v1.2.1