Update FormOtherController.php

This commit is contained in:
Jagad R R
2025-03-03 22:36:10 +07:00
parent c9f1e2e4b6
commit 7993b7782b
@@ -189,7 +189,7 @@ class FormOtherController extends Controller
foreach ($roles as $role) { foreach ($roles as $role) {
$users = Admin::getUserByRoleName($role)->filter(function ($user) use ($role, $cabang) { $users = Admin::getUserByRoleName($role)->filter(function ($user) use ($role, $cabang) {
// Include 'Marketing Information System' without cabang filtering // Include 'Marketing Information System' without cabang filtering
if ($role === 'Marketing Information System') { if ($role === 'Marketing Information System' || $role === 'Admin Region') {
return true; return true;
} }