@extends('layouts.master') @section('content')
@if(Session::has('success')) @endif @if(Session::has('error')) @endif
Pending Special Pass List
@if(count($visitors) > 0) @php $id = 1; // Initialize ID counter @endphp @foreach($visitors as $visitor) @php $id++; // Initialize ID counter @endphp @endforeach @else

No Record Found

@endif
Id Name Mobile Number Oragnization Valid From Valid Till Approval Status Action
{{$id}} {{$visitor->first_name}} {{$visitor->last_name}} {{$visitor->mob_no}} {{$visitor->organization_name}} {{$visitor->valid_from}} {{$visitor->valid_till}} {{$visitor->approval_status}} View
{!! $visitors->links() !!} Total Count : {!! $visitors->total() !!}
@endsection