diff options
Diffstat (limited to 'httemplate/misc')
-rw-r--r-- | httemplate/misc/cust-part_pkg.cgi | 12 | ||||
-rw-r--r-- | httemplate/misc/order_pkg.html | 1 |
2 files changed, 9 insertions, 4 deletions
diff --git a/httemplate/misc/cust-part_pkg.cgi b/httemplate/misc/cust-part_pkg.cgi index 524799ced..dcd033ff2 100644 --- a/httemplate/misc/cust-part_pkg.cgi +++ b/httemplate/misc/cust-part_pkg.cgi @@ -23,8 +23,14 @@ my @part_pkg = qsearch({ 'order_by' => 'ORDER BY pkg', }); -my @return = map { ( $_->pkgpart, $_->pkg_comment, $_->can_discount ); } - #sort { $a->pkg_comment cmp $b->pkg_comment } - @part_pkg; +my @return = map { warn $_->can_start_date; + ( $_->pkgpart, + $_->pkg_comment, + $_->can_discount, + $_->can_start_date, + ); + } + #sort { $a->pkg_comment cmp $b->pkg_comment } + @part_pkg; </%init> diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html index 4c7a02b1e..2332f2028 100644 --- a/httemplate/misc/order_pkg.html +++ b/httemplate/misc/order_pkg.html @@ -29,7 +29,6 @@ 'curr_value' => $pkgpart, 'classnum' => -1, 'cust_main' => $cust_main, - 'onchange' => 'enable_order_pkg', &> % } |