From bf886c38ec378b6c9407c45b527d69352b993d22 Mon Sep 17 00:00:00 2001 From: ArdianS18 Date: Wed, 20 Nov 2024 11:37:58 +0700 Subject: [PATCH] Update TeacherApiController.php --- app/Http/Controllers/Api/TeacherApiController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/Api/TeacherApiController.php b/app/Http/Controllers/Api/TeacherApiController.php index 9cd406b9..433f1c00 100644 --- a/app/Http/Controllers/Api/TeacherApiController.php +++ b/app/Http/Controllers/Api/TeacherApiController.php @@ -38,6 +38,7 @@ public function teacher_attendance(User $user) { $employee = $this->employee->getByUser($user->id); $todayAttendance = $this->attendance->userToday('App\Models\Employee', $employee->id); + dd($todayAttendance); $history_attendance = $this->attendance->whereUser($employee->id, 'App\Models\Employee'); return response()->json(['status' => 'success', 'message' => "Berhasil mengambil data",'code' => 200,