X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-cust_svc_cancel.html;h=44276ec82a4947cdf0794dd31c115a6293de935d;hb=b6260b4f39cf34b9e0e5b8560ef88c8881ba0766;hp=e7fa47a92b554258036f9ad4cd918542341f4f37;hpb=b65b8096089410001dfbcd35f9a56f9405b9f5f1;p=freeside.git 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. - <% -FS::UI::Web::svc_link($m, $part_svc, $cust_svc) -%> - <% -FS::UI::Web::svc_label_link($m, $part_svc, $cust_svc) -%> + +% if ( $opt{no_links} ) { + <% $part_svc->svc |h %>: +% } else { + <% FS::UI::Web::svc_link($m, $part_svc, $cust_svc) %> +% } + + +% if ( $opt{no_links} ) { + <% ($cust_svc->label)[1] |h %> +% } else { + <% FS::UI::Web::svc_label_link($m, $part_svc, $cust_svc) %> +% } + %# no action links, the service is canceled