@extends('layouts.app') @section('content')
MONITORING KEHADIRAN

Absensi

Riwayat absensi dengan foto, lokasi, dan waktu.

Ambil absensi
@forelse($attendances as $attendance)@empty@endforelse
PegawaiTanggalMasukPulangLokasiFotoStatusAksi
{{ $attendance->employee->full_name }}{{ $attendance->employee->employee_code }}{{ $attendance->attendance_date->format('d M Y') }}{{ optional($attendance->check_in)->format('H:i') }}{{ optional($attendance->check_out)->format('H:i') ?: '-' }}{{ $attendance->location_name }}{{ $attendance->latitude }}, {{ $attendance->longitude }}@if($attendance->photo_path)@else - @endif{{ $attendance->status }}@if(!$attendance->check_out)
@csrf @method('PUT')
@endif
@csrf @method('DELETE')
Belum ada absensi.
{{ $attendances->links() }}
@endsection