Skip to content

Commit

Permalink
Update TeacherApiController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ArdianS18 committed Nov 22, 2024
1 parent 34afabb commit c8dff8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Http/Controllers/Api/TeacherApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ public function teacher_attendance(User $user)
$employee = $this->employee->getByUser($user->id);
$history_attendance = $this->attendance->whereUser($employee->id, 'App\Models\Employee');
$single_attendance = $this->attendance->userToday('App\Models\Employee', $employee->id);


if () {

}
// if () {

// }

return response()->json(['status' => 'success', 'message' => "Berhasil mengambil data",'code' => 200,
'attendance_now' => [
Expand Down

0 comments on commit c8dff8b

Please sign in to comment.