diff --git a/app/Controllers/Admin/Customer/ServiceController.php b/app/Controllers/Admin/Customer/ServiceController.php
index 80058ca..658b276 100644
--- a/app/Controllers/Admin/Customer/ServiceController.php
+++ b/app/Controllers/Admin/Customer/ServiceController.php
@@ -41,7 +41,6 @@ class ServiceController extends CustomerController
{
switch ($this->getService()->getAction()) {
case 'view':
- case 'list':
$this->service = $this->getService();
$this->control = $this->getService()->getControlDatas();
$this->getService()->getHelper()->setViewDatas($this->getViewDatas());
diff --git a/app/Views/admin/service/index.php b/app/Views/admin/service/index.php
index 13de445..272e7ac 100644
--- a/app/Views/admin/service/index.php
+++ b/app/Views/admin/service/index.php
@@ -81,13 +81,13 @@
= $viewDatas['service']->getHelper()->getFieldView('type', $entity->type, $viewDatas) ?>
- = $viewDatas['service']->getHelper()->getFieldView('clientinfo_uid', $entity->ClientInfoUID(), $viewDatas) ?>
+ = $viewDatas['service']->getHelper()->getFieldView('clientinfo_uid', $entity->clientinfo_uid, $viewDatas) ?>
|
- = $viewDatas['service']->getHelper()->getFieldView('serverinfo_uid', $entity->ServerInfoUID(), $viewDatas) ?>
+ = $viewDatas['service']->getHelper()->getFieldView('serverinfo_uid', $entity->serverinfo_uid, $viewDatas) ?>
|
- = view_cell("\App\Cells\Equipment\ServerPartCell::parttable", ['serverinfo_uid' => $entity->getPK(), 'types' => SERVERPART['SERVER_PARTTYPES'], 'template' => 'part_service']) ?>
+ = view_cell("\App\Cells\Equipment\ServerPartCell::parttable", ['serverinfo_uid' => $entity->getServerEntity()->getPK(), 'types' => SERVERPART['SERVICE_PARTTYPES'], 'template' => 'part_service']) ?>
|
= $viewDatas['service']->getHelper()->getFieldView('billing_at', $entity->billing_at, $viewDatas) ?>
|