@extends('backend.partials.master') @section('title') {{ ___('admin.document_verification_108eb1') }} @endsection @section('maincontent') {{-- The verification work happens here, so the status is set here too — not only inside the full pilgrim edit form. --}} @forelse($pilgrims as $p) @php $c = match ($p->document_status) { 'Verified' => 'success', 'Submitted' => 'info', default => 'warning', }; @endphp {{ $p->pilgrim_no }} {{ $p->name }} {{ $p->passport_no }} {{ $p->package_title }} {{ admin_label($p->document_status) }} @if(hasPermission('hajj_update'))
@csrf
@else — @endif @empty @endforelse
@endsection