X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages%2Fservices.html;h=a23a4c2fefd9d1ad3a0d7c8ae6691a2129df323a;hp=352f5ea9d92fe67228b677c68d2f7f2db144b203;hb=bb174fcb28d7df1673a9c55edc7d953017b5288f;hpb=7f97d2688290e99de6aecec08a32254dae365105 diff --git a/httemplate/view/cust_main/packages/services.html b/httemplate/view/cust_main/packages/services.html index 352f5ea9d..a23a4c2fe 100644 --- a/httemplate/view/cust_main/packages/services.html +++ b/httemplate/view/cust_main/packages/services.html @@ -110,13 +110,16 @@ function clearhint_search_cust_svc(obj, str) { % } #foreach part_svc % if ($cust_pkg->get('cancel')) { -% foreach my $svc (sort { $a->{'svcpart'} <=> $b->{'svcpart'} } -% $cust_pkg->uncancel_svc_summary('summarize_size' => $opt{'cust_pkg-large_pkg_size'}) +% foreach my $svc ( +% $cust_pkg->uncancel_svc_summary('summarize_size' => $opt{'cust_pkg-large_pkg_size'}, 'no_test_reprovision' => 1) % ) { -% next unless $svc->{'reprovisionable'}; <% $svc->{'svc'} |h %> - <% $svc->{'label'} |h %> + + <% $svc->{'num_cust_svc'} + ? $svc->{'num_cust_svc'} . ' ' . emt('services in history') + : (defined($svc->{'label'}) ? $svc->{'label'} : emt('(cannot load svc label)')) |h %> + % } % }