{{ session('status') }}
@endif @if(session('warning')){{ session('warning') }}
@endif @if($errors->any())The certificate will be attached as a PDF and sent from the system email address. Your name will appear as the sender.
{{ $certificate->facility_name }}
Reference: {{ $certificate->number }}
Issued: {{ \Illuminate\Support\Carbon::parse($certificate->issued_at)->format('d F Y H:i') }}
REVOKED — this certificate is no longer valid.
@endifThis certifies that {{ $certificate->patient_name }} was assessed by the issuing physician and is recommended leave from work or usual duties for the period below.
{{ \Illuminate\Support\Carbon::parse($certificate->starts_on)->format('d F Y') }} through {{ \Illuminate\Support\Carbon::parse($certificate->ends_on)->format('d F Y') }}, inclusive ({{ (int)\Illuminate\Support\Carbon::parse($certificate->starts_on)->diffInDays(\Illuminate\Support\Carbon::parse($certificate->ends_on))+1 }} calendar days).
@if($certificate->restrictions){{ $certificate->restrictions }}
@endifIssued by: {{ $certificate->issuer_name }}
This document contains work-absence advice. Contact the issuing facility and quote the reference for verification.