{{-- App\Mail\HcpDocumentDecisionMail — events hcp.document-approved / hcp.document-rejected. Vars: $branding, $name, $documentName, $approved, $reason --}} @extends('emails.layouts.tenant') @section('title', $approved ? 'Document approved' : 'Document not approved') @section('preheader') @if ($approved) Your {{ $documentName }} has been approved by {{ $branding->name }}. @else Your {{ $documentName }} wasn't approved — please upload a new copy in the iShapps app. @endif @endsection @section('content') Hi {{ strtok($name, ' ') ?: 'there' }}, @if ($approved) Good news — {{ $branding->name }} has approved your {{ $documentName }}. There's nothing more you need to do for this document. @else {{ $branding->name }} reviewed your {{ $documentName }} and couldn't approve it. @if ($reason) {{ $reason }} @endif Please open the iShapps app and upload a new copy under Documents. Until it's approved you may not be able to pick up shifts that need it. @endif Questions? Reply to this email to reach {{ $branding->name }}. Kind regards,
The {{ $branding->name }} team
@endsection