summaryrefslogtreecommitdiff
path: root/httemplate/misc/cust-part_pkg.cgi
diff options
context:
space:
mode:
authorivan <ivan>2011-08-11 00:38:14 +0000
committerivan <ivan>2011-08-11 00:38:14 +0000
commitace15413d2fe16ac9eeac3e7e292025b60d40d22 (patch)
tree3f4f54eec968d013139c4ebcdc2a7524841d9353 /httemplate/misc/cust-part_pkg.cgi
parent49974e4c9aab71fea5f315160eb4f4b01186b49c (diff)
hide start date on package order for specific package definitions, RT#13783
Diffstat (limited to 'httemplate/misc/cust-part_pkg.cgi')
-rw-r--r--httemplate/misc/cust-part_pkg.cgi12
1 files changed, 9 insertions, 3 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>