@extends('layouts.admin') @section('title','Rekap Presensi') @section('page_title','Rekap Presensi') @section('page_subtitle',$session->title)
@section('content')<div class="card"><div class="section-head"><h3>{{ $session->title }}</h3><a href="{{ route('attendance.public',$session->token) }}" target="_blank">Buka link presensi ↗</a></div><div class="table-wrap"><table><thead><tr><th>Nama</th><th>Unit/Jabatan</th><th>Jam</th><th>Jarak</th><th>Foto</th><th>Perangkat</th></tr></thead><tbody>@foreach($entries as $e)<tr><td><b>{{ $e->full_name }}</b><small>{{ $e->whatsapp }}</small></td><td>{{ $e->organization_name }}<small>{{ $e->position }}</small></td><td>{{ $e->attended_at?->format('d M Y H:i:s') }}</td><td>{{ $e->distance_meters!==null ? number_format($e->distance_meters).' m' : '-' }}</td><td>@if($e->photo_path)<a href="{{ asset('storage/'.$e->photo_path) }}" target="_blank">Lihat foto</a>@else - @endif</td><td><code>{{ substr($e->device_hash,0,12) }}…</code></td></tr>@endforeach</tbody></table></div>{{ $entries->links() }}</div>@endsection
