From 9bb649cb8a10af4465a5be3e53cbda1d05f40a22 Mon Sep 17 00:00:00 2001 From: Jagad R R Date: Tue, 4 Mar 2025 11:17:21 +0700 Subject: [PATCH] Update FormOtherController.php --- app/Http/Controllers/Forms/FormOtherController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Forms/FormOtherController.php b/app/Http/Controllers/Forms/FormOtherController.php index 20a6d2f..b72449d 100644 --- a/app/Http/Controllers/Forms/FormOtherController.php +++ b/app/Http/Controllers/Forms/FormOtherController.php @@ -336,7 +336,7 @@ class FormOtherController extends Controller foreach ($roles as $role) { $users = Admin::getUserByRoleName($role)->filter(function ($user) use ($role, $cabang_id) { // Include 'Marketing Information System' without cabang filtering - if ($role === 'Marketing Information System') { + if ($role === 'Marketing Information System' || $role === 'Admin Region' || $role === 'Marketing Operational Manager Region') { return true; } @@ -410,7 +410,7 @@ class FormOtherController extends Controller foreach ($roles as $role) { $users = Admin::getUserByRoleName($role)->filter(function ($user) use ($role, $cabang_id) { // Include 'Marketing Information System' without cabang filtering - if ($role === 'Marketing Information System') { + if ($role === 'Marketing Information System' || $role === 'Head of Sales Marketing' || $role === 'Marketing Operational Manager Region') { return true; }