From d3e18527e2fa36b7b7fe7b8b0a5906caae3cb8de Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 11 Aug 2011 00:39:00 +0000 Subject: hide start date on package order for specific package definitions, RT#13783 --- httemplate/misc/cust-part_pkg.cgi | 12 +++++++++--- httemplate/misc/order_pkg.html | 1 - 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'httemplate/misc') 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; diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html index bb87422a1..4dd2b7b20 100644 --- a/httemplate/misc/order_pkg.html +++ b/httemplate/misc/order_pkg.html @@ -18,7 +18,6 @@ 'curr_value' => $pkgpart, 'classnum' => -1, 'cust_main' => $cust_main, - 'onchange' => 'enable_order_pkg', ) %> -- cgit v1.2.1