extend maestro status API for the multi-service scenario, RT#9334
[freeside.git] / httemplate / view / cust_main / packages / services.html
index 0fe7931..6e30922 100644 (file)
 %           if ( $curuser->access_right('Unprovision customer service') ) { 
               <FONT SIZE="-2">(&nbsp;<%svc_unprovision_link($cust_svc)%>&nbsp;)</FONT>
 %           } 
+
+%           if ( $part_svc->svcdb eq 'svc_pbx' && $opt{'maestro-status_test'} ){
+              <FONT SIZE="-2">(&nbsp;<A HREF="<% $p %>misc/maestro-customer_status-test.html?<% $cust_pkg->custnum.'+'.$cust_svc->svcnum %>">Test maestro status</A>&nbsp;)</FONT>
+%           } 
+
           </TD>
         </TR>
 %   }