X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpackages%2Fservices.html;h=6e30922c53d9afbfe449df07c237b7c45e084671;hb=2bbfc3379be19a01094d55ac6ba53a1360f1797f;hp=1e473736bc711ecf2348e6ff1ab9553ca2e60d88;hpb=7d751137371d5e6e263265e7aa37433ad7f871c3;p=freeside.git
diff --git a/httemplate/view/cust_main/packages/services.html b/httemplate/view/cust_main/packages/services.html
index 1e473736b..6e30922c5 100644
--- a/httemplate/view/cust_main/packages/services.html
+++ b/httemplate/view/cust_main/packages/services.html
@@ -36,15 +36,34 @@
% )
% ) {
( <%svc_recharge_link($cust_svc)%> )
-% }
+% }
-
+ |
-% if ( $curuser->access_right('Unprovision customer service') ) {
- ( <%svc_unprovision_link($cust_svc)%> )
-% }
- |
+% my $ip_addr = $cust_svc->svc_x->ip_addr;
+
+% if ( $part_svc->svcdb eq 'svc_broadband' ) {
+ ( <% include('/elements/popup_link-ping.html', 'ip'=> $ip_addr ) %> )
+
+% }
+
+% my $manage_link = $opt{'svc_broadband-manage_link'};
+% if ( $manage_link && $part_svc->svcdb eq 'svc_broadband' ) {
+% my $svc_manage_link = eval(qq("$manage_link"));
+ ( Manage Device )
+
+% }
+
+% if ( $curuser->access_right('Unprovision customer service') ) {
+ ( <%svc_unprovision_link($cust_svc)%> )
+% }
+
+% if ( $part_svc->svcdb eq 'svc_pbx' && $opt{'maestro-status_test'} ){
+ ( Test maestro status )
+% }
+
+
% }
@@ -75,6 +94,8 @@ my $cust_pkg = $opt{'cust_pkg'};
my $part_pkg = $opt{'part_pkg'};
my $curuser = $FS::CurrentUser::CurrentUser;
+my $conf = new FS::Conf;
+
sub svc_provision_link {
my ($cust_pkg, $part_svc, $opt, $curuser) = @_;
( my $svc_nbsp = $part_svc->svc ) =~ s/\s+/ /g;