Fix UI active state highlighting for My Attendance and Attendance Records

This commit is contained in:
2026-07-06 13:51:21 +08:00
parent 82d5592aec
commit 4691f27fbe
419 changed files with 15052 additions and 14807 deletions

View File

@@ -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
}
});