@if(Session::has('success'))
{{Session::get('success')}}
@endif
@if(Session::has('error'))
{{Session::get('error')}}
@endif
| Id |
Name |
Pass ID |
Mobile Number |
Date And Time |
Oragnization |
Action |
@if(count($visitors) > 0)
@php
$id = 1; // Initialize ID counter
@endphp
@foreach($visitors as $visitor)
| {{$id}} |
{{$visitor->name}} |
{{$visitor->pass_id}} |
{{$visitor->mobile}} |
{{$visitor->entry_datetime}} |
{{$visitor->organization}} |
|
@php
$id++; // Initialize ID counter
@endphp
@endforeach
@else
No Record Found
@endif
@endsection