{{-- App\Mail\DocumentComplianceDigestMail — event admin.document-compliance-digest. Vars: $branding, $rows, $hcpCount, $adminUrl Shift times are stored in the shift's own (site) local time, so they're shown as-is. --}} @extends('emails.layouts.tenant') @use('App\Services\Notification\Email\EmailStyle', 'S') @section('title', 'Upcoming shifts with invalid documents') @section('preheader') {{ $hcpCount }} HCP{{ $hcpCount === 1 ? '' : 's' }} with upcoming shifts {{ $hcpCount === 1 ? 'has' : 'have' }} invalid documents. @endsection @section('content') Hello, These scheduled shifts are booked to HCPs whose documents are missing, awaiting approval, rejected or expired by the shift date. Until that's fixed they can't pick up new shifts in that profession, but these existing bookings still stand. Please follow up with the HCP or reassign the shift. @foreach ($rows as $row) @php $start = \Carbon\Carbon::parse($row['shift_start']); @endphp @endforeach
{{ ucwords($row['hcp_name']) }} ({{ $row['hcp_ref'] }})@if ($row['profession']) · {{ ucwords($row['profession']) }}@endif
Shift {{ $row['shift_ref'] }} · {{ $start->format('D j M, g:i a') }}@if ($row['site']) · {{ ucwords($row['site']) }}@endif
{{ implode(', ', $row['problems']) }}
Review workers Sent daily at 9am while any upcoming shift is affected, to your agency's activity addresses (Agency settings). @endsection