@can('create', App\Models\Patient::class)

Patient Management

New Patient & Invoice
@endcan
@foreach ($patients as $patient) @endforeach
Code Name Phone Address Actions
{{ $patient->code }} {{ $patient->name }} {{ $patient->phone }} {{ $patient->address ?? '-' }}
@can('view', $patient) @endcan @can('update', $patient) @endcan @can('delete', $patient) @endcan

Total: {{ $patients->total() }}

{{ $patients->links(data: ['scrollTo' => false]) }}
@if($showCreateModal) @endif @if($showEditModal) @endif