@extends('layouts.admin.layout') @section('content') @php $locked = (bool) $session->locked_at; @endphp {{-- ── Header ──────────────────────────────────────────────────────────── --}}

{{ $session->event->title }}

{{ \Carbon\Carbon::parse($session->attendance_date)->format('D, d M Y') }}

{{ $count }}

checked in

@if($locked)
Session is locked — check-ins are disabled.
@endif @unless($locked) {{-- ── Mode tabs ────────────────────────────────────────────────────────── --}}
{{-- ── Search tab ──────────────────────────────────────────────────── --}} {{-- ── Scan tab ─────────────────────────────────────────────────────── --}}
@endunless {{-- ── Checked-in list ─────────────────────────────────────────────────── --}}

Checked In {{ $count }}

@endsection @push('scripts') {{-- jsQR for camera QR decoding --}} @endpush