summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-06-21 01:11:43 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-07-07 19:00:52 -0500
commit5d4b4e0db37c87e8c298eb1f97585b309f42608c (patch)
tree15c9c03cab601b0251fcfa4c173625591842db4a /httemplate/view
parent5e76080d6ca453fa4471d21e10da023f8bb03184 (diff)
RT#17599: display cancelled services from history
Diffstat (limited to 'httemplate/view')
-rw-r--r--httemplate/view/cust_main/packages/services.html17
1 files changed, 15 insertions, 2 deletions
diff --git a/httemplate/view/cust_main/packages/services.html b/httemplate/view/cust_main/packages/services.html
index 39055f49a..352f5ea9d 100644
--- a/httemplate/view/cust_main/packages/services.html
+++ b/httemplate/view/cust_main/packages/services.html
@@ -105,9 +105,22 @@ function clearhint_search_cust_svc(obj, str) {
</TD>
</TR>
-% }
+% }
+
+% } #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'})
+% ) {
+% next unless $svc->{'reprovisionable'};
+ <TR>
+ <TD ALIGN="right" VALIGN="top"><% $svc->{'svc'} |h %></TD>
+ <TD STYLE="padding-bottom:0px; font-style: italic"><% $svc->{'label'} |h %></TD>
+ </TR>
+% }
+% }
-% }
</TABLE>
</TD>