summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorivan <ivan>2011-08-11 00:39:00 +0000
committerivan <ivan>2011-08-11 00:39:00 +0000
commitd3e18527e2fa36b7b7fe7b8b0a5906caae3cb8de (patch)
tree07d4d1dc02ba4c8bea9dad8866e1a57a09c4c268 /httemplate/misc
parent0534412bf84b022fe23f9231cb66424b7f6033df (diff)
hide start date on package order for specific package definitions, RT#13783
Diffstat (limited to 'httemplate/misc')
-rw-r--r--httemplate/misc/cust-part_pkg.cgi12
-rw-r--r--httemplate/misc/order_pkg.html1
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 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',
)
%>