summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-cust_svc_cancel.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-06-04 03:23:27 -0700
committerIvan Kohler <ivan@freeside.biz>2013-06-04 03:23:27 -0700
commit4cd40172ccbfce9cfa49bff5a6338f3c6c978f4b (patch)
treedd43902ce7adb0c97674587dbc8b4aca944e953a /httemplate/elements/tr-cust_svc_cancel.html
parent206197352809cdbb78134c1e59905f05a2bfca69 (diff)
move services between packages, RT#22619
Diffstat (limited to 'httemplate/elements/tr-cust_svc_cancel.html')
-rw-r--r--httemplate/elements/tr-cust_svc_cancel.html20
1 files changed, 14 insertions, 6 deletions
diff --git a/httemplate/elements/tr-cust_svc_cancel.html b/httemplate/elements/tr-cust_svc_cancel.html
index e7fa47a92..44276ec82 100644
--- a/httemplate/elements/tr-cust_svc_cancel.html
+++ b/httemplate/elements/tr-cust_svc_cancel.html
@@ -3,12 +3,20 @@ tr-cust_svc_cancel - Short display of a canceled customer service
for use in view/cust_main.
</%doc>
<TR STYLE="color:#cccccc;">
- <TD ALIGN="right" VALIGN="top"><%
-FS::UI::Web::svc_link($m, $part_svc, $cust_svc)
-%></TD>
- <TD STYLE="padding-bottom:0px;"><B><%
-FS::UI::Web::svc_label_link($m, $part_svc, $cust_svc)
-%></B></TD>
+ <TD ALIGN="right" VALIGN="top">
+% if ( $opt{no_links} ) {
+ <% $part_svc->svc |h %>:
+% } else {
+ <% FS::UI::Web::svc_link($m, $part_svc, $cust_svc) %>
+% }
+ </TD>
+ <TD STYLE="padding-bottom:0px;"><B>
+% if ( $opt{no_links} ) {
+ <% ($cust_svc->label)[1] |h %>
+% } else {
+ <% FS::UI::Web::svc_label_link($m, $part_svc, $cust_svc) %>
+% }
+ </B></TD>
</TR>
%# no action links, the service is canceled