summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorivan <ivan>2011-08-11 00:38:01 +0000
committerivan <ivan>2011-08-11 00:38:01 +0000
commita78d8300b4be8ff4fbb4b5c64139d4c442b16c2f (patch)
tree3dab8b6f358bff37ab005ca147f749303b063cda /httemplate/misc
parent5ee66912dd45edf27a7f679b249dda595a8ab7b0 (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 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',
&>
% }