2 tr-cust_svc_cancel - Short display of a canceled customer service
3 for use in view/cust_main.
5 <TR STYLE="color:#cccccc;">
6 <TD ALIGN="right" VALIGN="top">
7 % if ( $opt{no_links} ) {
8 <% $part_svc->svc |h %>:
10 <% FS::UI::Web::svc_link($m, $part_svc, $cust_svc) %>
13 <TD STYLE="padding-bottom:0px;"><B>
14 % if ( $opt{no_links} ) {
15 <% ($cust_svc->label)[1] |h %>
17 <% FS::UI::Web::svc_label_link($m, $part_svc, $cust_svc) %>
21 %# no action links, the service is canceled
25 my $curuser = $FS::CurrentUser::CurrentUser;
27 my $cust_svc = $opt{'cust_svc'};
28 my $part_svc = $opt{'part_svc'} || $cust_svc->part_svc;
29 my $cust_pkg = $opt{'cust_pkg'} || $cust_svc->cust_pkg;
30 my $svc_x = $cust_svc->svc_x;