X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages%2Fsection.html;h=490f09c12ae50415f91a56cf1b6c11e0bd845fbb;hp=fe9f283c7df8f02ec086b40f55bc4e192307e053;hb=98f6d91ec7eaa907204afbfeb90ede1e3bff656d;hpb=57e3a0e08b81d52851314c60f37115a05b9be79e diff --git a/httemplate/view/cust_main/packages/section.html b/httemplate/view/cust_main/packages/section.html index fe9f283c7..490f09c12 100755 --- a/httemplate/view/cust_main/packages/section.html +++ b/httemplate/view/cust_main/packages/section.html @@ -71,9 +71,11 @@ <& .packagerow, $cust_pkg->change_to_pkg, %iopt, 'change_from' => 1 &> % } % # include supplemental packages if any -% $iopt{'supplemental'} = ($iopt{'supplemental'} || 0) + 1; -% foreach my $supp_pkg ($cust_pkg->supplemental_pkgs) { - <& .packagerow, $supp_pkg, %iopt &> +% if ( $cust_pkg->_supplemental ) { +% $iopt{'supplemental'} = ($iopt{'supplemental'} || 0) + 1; +% foreach my $supp_pkg (@{ $cust_pkg->_supplemental }) { + <& .packagerow, $supp_pkg, %iopt &> +% } % } <%shared>