X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Ffirst_pkg%2Fselect-part_pkg.html;fp=httemplate%2Fedit%2Fcust_main%2Ffirst_pkg%2Fselect-part_pkg.html;h=5f7b6887db30b837dc4013706ab2e36cfc3afdd7;hp=4f8914065046cdfe2e88755cf2569de7f4db88cb;hb=39997db2139f32a84f4a1d1db2ee0cdd82bb9dfa;hpb=9fccafa7662f8eac572939f64867e625945a1c92 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 );