Fix UI active state highlighting for My Attendance and Attendance Records
This commit is contained in:
@@ -16,7 +16,7 @@ class ShiftController extends Controller
|
||||
if (Auth::user()->can('manage-any-shifts')) {
|
||||
$q->whereIn('created_by', getCompanyAndUsersId());
|
||||
} else {
|
||||
$q->where('created_by', Auth::id());
|
||||
$q->whereIn('created_by', getCompanyAndUsersId()); // Show all company shift templates
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user