diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-06-04 03:23:12 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-06-04 03:23:12 -0700 |
commit | 05eb6fd62056682d8760b85ced91dabd33357a3b (patch) | |
tree | c541401962c75dcbe9833dde33943c109a865bac /httemplate/elements/tr-cust_svc_cancel.html | |
parent | 39754a8b5468d95124ee2c0bbcd1c104904d1fe5 (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.html | 20 |
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 |