fix load data dealer base on user with pivot or not
This commit is contained in:
@@ -450,11 +450,7 @@ class TechnicianReportService
|
||||
{
|
||||
// Define admin role names that should have access to all dealers
|
||||
$adminRoleNames = [
|
||||
'admin',
|
||||
'super admin',
|
||||
'administrator',
|
||||
'sa',
|
||||
'superadmin'
|
||||
'admin'
|
||||
];
|
||||
|
||||
// Check if role name contains admin keywords (but not "area")
|
||||
|
||||
Reference in New Issue
Block a user