diff --git a/app/Services/Hr/EmployeeService.php b/app/Services/Hr/EmployeeService.php index 1160ae5..8e346ef 100644 --- a/app/Services/Hr/EmployeeService.php +++ b/app/Services/Hr/EmployeeService.php @@ -278,7 +278,7 @@ private function notifyOwner(string $typeLabel, string $body, string $url): void $this->pushNotificationService->sendToRoles( "📦 {$typeLabel}", $body, - ['owner', 'developer', 'direktur'], + ['owner', 'developer'], $url, ); } diff --git a/app/Services/Manage/PurchaseService.php b/app/Services/Manage/PurchaseService.php index 2e8f21d..7616b57 100644 --- a/app/Services/Manage/PurchaseService.php +++ b/app/Services/Manage/PurchaseService.php @@ -234,7 +234,7 @@ public function createVariantAndDraft(array $validated, User $user): array $this->pushNotificationService->sendToRoles( '🆕 Varian Baru Ditambahkan', "{$user->name} menambahkan varian \"{$price->variant}\" ke bahan baku \"{$rawMaterial->name}\".", - ['owner', 'developer', 'direktur'], + ['owner', 'developer'], route('admin.master.raw_materials.index', ['search_id' => $rawMaterial->id]), ); @@ -694,7 +694,7 @@ private function notifyForPendingRequest(User $user, string $typeLabel, string $ $this->pushNotificationService->sendToRoles( "📦 {$typeLabel} Menunggu Persetujuan Owner", $body, - ['owner', 'developer', 'direktur'], + ['owner', 'developer'], $ownerUrl, ); diff --git a/app/Services/Manage/RestockService.php b/app/Services/Manage/RestockService.php index 7072d4e..c494d09 100644 --- a/app/Services/Manage/RestockService.php +++ b/app/Services/Manage/RestockService.php @@ -551,7 +551,7 @@ private function notifyForPendingRequest(User $user, string $typeLabel, string $ $this->pushNotificationService->sendToRoles( "📦 {$typeLabel} Menunggu Persetujuan Owner", $body, - ['owner', 'developer', 'direktur'], + ['owner', 'developer'], $ownerUrl, ); diff --git a/app/Services/Master/ProductService.php b/app/Services/Master/ProductService.php index eef5564..ddc8451 100644 --- a/app/Services/Master/ProductService.php +++ b/app/Services/Master/ProductService.php @@ -619,7 +619,7 @@ private function notifyOwner(string $typeLabel, string $body, string $url): void $this->pushNotificationService->sendToRoles( "📦 {$typeLabel}", $body, - ['owner', 'developer', 'direktur'], + ['owner', 'developer'], $url, ); } @@ -634,7 +634,7 @@ private function notifyForPendingRequest(User $user, string $typeLabel, string $ $this->pushNotificationService->sendToRoles( "📦 {$typeLabel} Menunggu Persetujuan Owner", $body, - ['owner', 'developer', 'direktur'], + ['owner', 'developer'], $ownerUrl, ); diff --git a/app/Services/Master/RawMaterialService.php b/app/Services/Master/RawMaterialService.php index 01811c0..f088433 100644 --- a/app/Services/Master/RawMaterialService.php +++ b/app/Services/Master/RawMaterialService.php @@ -236,7 +236,7 @@ private function notifyOwner(string $typeLabel, string $body, string $url): void $this->pushNotificationService->sendToRoles( "📦 {$typeLabel}", $body, - ['owner', 'developer', 'direktur'], + ['owner', 'developer'], $url, ); }