diff --git a/app/Controllers/Admin/Customer/ServiceController.php b/app/Controllers/Admin/Customer/ServiceController.php index d430851..cc3ccda 100644 --- a/app/Controllers/Admin/Customer/ServiceController.php +++ b/app/Controllers/Admin/Customer/ServiceController.php @@ -47,6 +47,7 @@ class ServiceController extends CustomerController } protected function getResultPageByActon(string $action, string $message = MESSAGES["SUCCESS"]): RedirectResponse|string { + $this->action = $action; switch ($action) { case 'index': $this->getHelper()->setViewDatas($this->getViewDatas()); diff --git a/app/Controllers/Admin/Customer/ServiceItemController.php b/app/Controllers/Admin/Customer/ServiceItemController.php index 89e0ab2..4feb8bb 100644 --- a/app/Controllers/Admin/Customer/ServiceItemController.php +++ b/app/Controllers/Admin/Customer/ServiceItemController.php @@ -76,6 +76,7 @@ class ServiceItemController extends CustomerController } protected function getResultPageByActon(string $action, string $message = MESSAGES["SUCCESS"]): RedirectResponse|string { + $this->action = $action; switch ($action) { case 'index': $this->getHelper()->setViewDatas($this->getViewDatas());