summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_main/first_pkg/select-part_pkg.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-01-15 22:15:42 -0800
committerIvan Kohler <ivan@freeside.biz>2014-01-15 22:15:42 -0800
commit02a6274b9eec3668afe0835df2009790f010a0b9 (patch)
treef7267891e5cec8b6dc41f8b8f0c5409d22d81475 /httemplate/edit/cust_main/first_pkg/select-part_pkg.html
parentded7dddeaf4ec7ec42b5f59133b487a62f43ea78 (diff)
fix part_pkg.comment showing in signup and self-service package order, RT#25557
Diffstat (limited to 'httemplate/edit/cust_main/first_pkg/select-part_pkg.html')
-rw-r--r--httemplate/edit/cust_main/first_pkg/select-part_pkg.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/edit/cust_main/first_pkg/select-part_pkg.html b/httemplate/edit/cust_main/first_pkg/select-part_pkg.html
index 709a8ad6c..3c2eac018 100644
--- a/httemplate/edit/cust_main/first_pkg/select-part_pkg.html
+++ b/httemplate/edit/cust_main/first_pkg/select-part_pkg.html
@@ -144,8 +144,9 @@ foreach my $part_pkg ( @part_pkg ) {
my @options = ();
push @options, '' unless $opt{'disable_empty'};
push @options, map $pkgpart_svcpart{ $_->pkgpart }, @part_pkg;
+my $label_method = $opt{no_comment} ? 'pkg_price_info' : 'pkg_comment' ;
my %labels = ( '' => ( $opt{'empty_label'} || '(none)' ),
- map { $pkgpart_svcpart{ $_->pkgpart } => $_->pkg_comment }
+ map { $pkgpart_svcpart{ $_->pkgpart } => $_->$label_method() }
@part_pkg
);