Update FormOtherController.php
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user