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; }