@extends('layouts.'.Auth::user()->role.'_layout') @section('title') {{ __('All visitors') }} @endsection @section('content')
{{ __('All archived visitors') }}
@forelse($list as $key => $visitor) @empty @endforelse
{{ __('Order') }} {{ __('Visitor') }} {{ __('With appointment') }} {{ __('Reason for consultation') }} {{ __('Created at') }} {{ __('Status') }} {{ __('Actions') }}
{{ $key+1 }} {{ $visitor->User->name }} @if($visitor->has_appointment == 1) @else @endif {{ $visitor->reason ?? __('N/A') }} @if($visitor->status == 1) @else @endif @can('edit drug') @if($visitor->status == 1) @endif @endcan @can('delete drug') @endcan


{{ __('No patient found') }}
@endsection