@extends('backend.layouts.master') @section('content')

Patients List

Total Patients: {{ $patientlist->count() }}
@foreach ($patientlist as $patientlists) @endforeach
Name Mobile Email Type of Myositis Country Timestamp View Action
{{ $patientlists->fname }} {{ $patientlists->lname }} {{ $patientlists->phone }} {{ $patientlists->email }} {{ optional($patientlists->disease)->name }} {{ $patientlists->country->name ?? 'not selected' }} {{ $patientlists->created_at }}
@csrf @method('DELETE')
@endsection