X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages%2Fservices.html;h=c0a56d0f3e093a829aba3cac0e1926cf2d24805d;hb=f3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7;hp=8f3a028ddaba528e68f2dcfcd4d0813358ce6793;hpb=424ae31847c4fd44e6ed55ec275c8e668c7d2b51;p=freeside.git
diff --git a/httemplate/view/cust_main/packages/services.html b/httemplate/view/cust_main/packages/services.html
index 8f3a028dd..c0a56d0f3 100644
--- a/httemplate/view/cust_main/packages/services.html
+++ b/httemplate/view/cust_main/packages/services.html
@@ -3,20 +3,23 @@
% ###
-
+
-% foreach my $part_svc ( $cust_pkg->part_svc ) {
+% foreach my $part_svc ( $cust_pkg->part_svc(
+% 'summarize_size' => $opt{'cust_pkg-large_pkg_size'}
+% ) )
+% {
% my $num_cust_svc = $cust_pkg->num_cust_svc( $part_svc->svcpart );
% if ( $opt{'cust_pkg-large_pkg_size'} > 0 and
-% $opt{'cust_pkg-large_pkg_size'} <= $num_cust_svc ) {
-% # summarize
+% $opt{'cust_pkg-large_pkg_size'} <= $num_cust_svc ) { # summarize
+%
% my $href="${p}search/cust_pkg_svc.html?svcpart=".$part_svc->svcpart.
@@ -42,8 +45,9 @@ function clearhint_search_cust_svc(obj, str) {
|
% } #$hint
-% }
-% else { # don't summarize
+%
+% } else { # don't summarize
+%
% foreach my $cust_svc ( @{ $part_svc->cust_pkg_svc } ) {
% if ( $cust_pkg->getfield('cancel') > 0 ) {
<& /elements/tr-cust_svc_cancel.html,
@@ -74,7 +78,7 @@ function clearhint_search_cust_svc(obj, str) {
% if ( $curuser->access_right('Bulk provision customer service')
% && $part_svc->svcdb eq 'svc_phone' ) {
% if ( $part_svc->num_avail > 5 ) {
-% $opt{'bulk'} = 1;
+% local $opt{'bulk'} = 1;
<% svc_provision_link($cust_pkg, $part_svc, \%opt, $curuser) %>
% }
% #XXX if there's orders for this customer {
|