@extends('layouts.app') @section('title', 'All Prescriptions') @section('content')

All Prescriptions

Back
@if(session('success'))
{{ session('success') }}
@endif
@forelse($prescriptions as $prescription) @empty @endforelse
Prescription # Patient Date Items Actions
{{ $prescription->prescription_number }}
{{ $prescription->patient->full_name }}
{{ $prescription->patient->patient_id }}
{{ $prescription->created_at->format('M d, Y') }} {{ $prescription->items->count() }} item(s)
@csrf @method('DELETE')
No prescriptions found.
@if($prescriptions->count() > 0)
Showing {{ $prescriptions->count() }} prescription(s)
@endif
@endsection