summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_main
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-01-16 01:45:07 -0800
committerIvan Kohler <ivan@freeside.biz>2014-01-16 01:45:07 -0800
commit39997db2139f32a84f4a1d1db2ee0cdd82bb9dfa (patch)
tree4a449c5c0d1153246e5e0c52865aec5fadddd23d /httemplate/edit/cust_main
parent9fccafa7662f8eac572939f64867e625945a1c92 (diff)
fix part_pkg.comment showing in signup and self-service package order, RT#25557
Diffstat (limited to 'httemplate/edit/cust_main')
-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 4f8914065..5f7b6887d 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
);