andre hace 2 años
padre
commit
26e6726a56
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/UI/Client/Ressource/Pages/Ressources.php

+ 2 - 2
app/UI/Client/Ressource/Pages/Ressources.php

@@ -47,7 +47,7 @@ class Ressources extends DataTable implements ClientArea
         'active'        => 'success',
         'active'        => 'success',
         'locked'        => 'default',
         'locked'        => 'default',
         'maintenance'   => 'warning',
         'maintenance'   => 'warning',
-        'closed'        =>'default',
+        'closed'        => 'default',
         'lockout'       => 'info',
         'lockout'       => 'info',
         'pending'       => 'warning',
         'pending'       => 'warning',
         'default'       => 'default'
         'default'       => 'default'
@@ -157,7 +157,7 @@ class Ressources extends DataTable implements ClientArea
             ->getApiByServer($hosting->server)
             ->getApiByServer($hosting->server)
             ->soap
             ->soap
             ->repository()
             ->repository()
-            ->accounts
+            ->ressources
             ->getByDomainName($hosting->domain);
             ->getByDomainName($hosting->domain);
 
 
         $productManager = new ProductManager();
         $productManager = new ProductManager();