Editing Employee Attendance and Check-ins

This commit is contained in:
2026-10-07 17:51:03 +03:30
parent 694f41968a
commit ce2ce49ffb
7 changed files with 134 additions and 6 deletions
+1 -1
View File
@@ -401,7 +401,7 @@ class AdminController extends Controller
if ($u->is_admin == '1' || $u->is_admin == '2') {
setcookie('ad', '1', time() + (60 * 60 * 24 * 365 * 5), "/");
$users = User::whereNotNull('user_name')
->select(['id', 'name', 'user_name', 'req_counts', 'active_task'])
->select(['id', 'name', 'user_name', 'req_counts', 'active_task', 'work_start_time'])
->get();
$this->enrichUsersForDashboard($users);