Riwayat check-in/out (mobile geotagging & manual) — dikelompokkan per hari-karyawan: {{ number_format($groupCount) }} hari · {{ number_format($logCount) }} log.
| Tanggal | NIK | Nama | Shift | Proyek | Jam Masuk | Jam Keluar | Jml Jam Lembur | Sumber | Foto Selfie | Aksi |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $row['date_label'] }} | {{ $row['nik'] ?: '-' }} | {{ $row['name'] }} |
@if ($row['shift'])
{{ $row['shift'] }}
@endif
@if ($row['day_off'])
Day Off
@endif
@if (! $row['shift'] && ! $row['day_off'])
—
@endif
|
@if ($row['project']) {{ $row['project'] }} @else — @endif | {{-- Jam Masuk --}}
@if ($row['in'])
{{ $row['in']['time'] ?? '-' }}
{{ $row['in']['loc'] ?? 'Tanpa lokasi' }}
@if ($row['in']['lat'] !== null && $row['in']['lon'] !== null)
@endif
@if ($row['in']['acc'] !== null)
{{ $row['in']['acc'] }} m
@endif
@else
—
@endif
|
{{-- Jam Keluar --}}
@if ($row['out'])
{{ $row['out']['time'] ?? '-' }}
{{ $row['out']['loc'] ?? 'Tanpa lokasi' }}
@if ($row['out']['lat'] !== null && $row['out']['lon'] !== null)
@endif
@if ($row['out']['acc'] !== null)
{{ $row['out']['acc'] }} m
@endif
@else
—
@endif
|
{{-- Jml Jam Lembur --}}
@if ($row['lembur'] > 0) {{ $row['lembur'] }} jam @else — @endif | {{-- Sumber --}}@php $srcIn = $row['in'] ? ($row['in']['is_mobile'] ? 'Mobile' : 'Manual') : null; $srcOut = $row['out'] ? ($row['out']['is_mobile'] ? 'Mobile' : 'Manual') : null; $src = trim(implode('/', array_unique(array_filter([$srcIn, $srcOut])))); $mock = ($row['in'] && $row['in']['is_mocked']) || ($row['out'] && $row['out']['is_mocked']); @endphp @if ($src) {{ $src }} @else — @endif @if ($mock) Mock! @endif | {{-- Foto selfie masuk & keluar --}}
@if ($row['photo_in'] && $row['reg_face_id'])
@elseif ($row['photo_in'])
@else
@endif
Masuk
@if ($row['photo_out'] && $row['reg_face_id'])
@elseif ($row['photo_out'])
@else
@endif
Keluar |
|
|
Tidak ada log absensi untuk filter ini. |
||||||||||
Selfie Saat Absen
Wajah Terdaftar
{{ $locSub }}
{{ $locLat }}, {{ $locLon }}
@if ($locAcc)Akurasi: {{ $locAcc }}
@endif{{ $eInId || $eOutId ? 'Perbaiki jam masuk & jam keluar karyawan (1 baris = 1 hari).' : 'Tambah absensi manual baru untuk karyawan & tanggal tertentu.' }}
{{ $message }}
@enderrorKosongkan utk menghapus log masuk.
Kosongkan utk menghapus log keluar.