wip
This commit is contained in:
@@ -127,7 +127,7 @@ class CardOrder extends Resource
|
||||
return $query;
|
||||
}
|
||||
|
||||
if ($user->isOperator() && count($user->branches()->pluck('branches.id')) < 1) {
|
||||
if ($user->isOperator()) {
|
||||
return $query->whereIn('branch_id', $user->branches()->pluck('branches.id'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user