- <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" VALIGN="top">
+% if ( $opt{before_svc_callback} ) {
+ <% &{ $opt{before_svc_callback} }( $cust_svc ) %>
+% }
+ <B><% $cust_svc->agent_svcid ? $cust_svc->agent_svcid.': ' : '' %>
+% if ( $opt{no_links} ) {
+ <% ($cust_svc->label)[1] |h %>
+% } else {
+ <% FS::UI::Web::svc_label_link($m, $part_svc, $cust_svc) %>
+% }
+ </B>
+% if ($part_svc->svcdb eq 'svc_circuit') {
+ <BR>Provider: <% $svc_x->circuit_provider->provider %>
+ <BR>Type: <% $svc_x->circuit_type->typename %>
+% }
+% if ( $opt{after_svc_callback} ) {
+ <% &{ $opt{after_svc_callback} }( $cust_svc ) %>
+% }
+ </TD>