X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages%2Fservices.html;fp=httemplate%2Fview%2Fcust_main%2Fpackages%2Fservices.html;h=b66869174aaa6b06811cbd95b673825ad8a63545;hb=cd5f247013247672191ddeb7c5b7345804e63146;hp=f10bec47b9846df9ddbc7389cd4d6cead5b686c6;hpb=9a199c9392f74166cd6054d9d265106842846c00;p=freeside.git diff --git a/httemplate/view/cust_main/packages/services.html b/httemplate/view/cust_main/packages/services.html index f10bec47b..b66869174 100644 --- a/httemplate/view/cust_main/packages/services.html +++ b/httemplate/view/cust_main/packages/services.html @@ -12,18 +12,26 @@ function clearhint_search_cust_svc(obj, str) { % foreach my $part_svc ( $cust_pkg->part_svc ) { +% 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'} <= $cust_pkg->num_svcs ) { +% $opt{'cust_pkg-large_pkg_size'} <= $num_cust_svc ) { % # summarize - + % my $href="${p}search/cust_pkg_svc.html?svcpart=".$part_svc->svcpart. % ";pkgnum=".$cust_pkg->pkgnum; - <% $part_svc->svc %>  + <% $part_svc->svc %> + + (<% mt("view all [_1]", $cust_pkg->num_svcs) |h %>) + + % my $hint = $hints{$part_svc->svcdb}; % if ( $hint ) { -
+ + +
@@ -31,9 +39,9 @@ function clearhint_search_cust_svc(obj, str) {
-% } #$hint +% } #$hint % } % else { # don't summarize % foreach my $cust_svc ( @{ $part_svc->cust_pkg_svc } ) {