@php $fmt = fn ($d) => !empty($d) ? \Carbon\Carbon::parse($d)->format('l j F Y') : '—'; @endphp # Your course date has changed Hi {{ $recipientName ?: 'there' }}, The date for your course **{{ $courseName }}** has been updated. There's nothing you need to do — this email is just to let you know. **Course:** {{ $courseName }}
**Previous date:** {{ $fmt($oldDate) }}
**New date:** {{ $fmt($newDate) }}
@if ($reason) **Reason:** {{ $reason }} @endif Your booking is confirmed for the new date. If the new date doesn't work for you, or you have any questions, just reply to this email. Thanks,
{{ config('app.name') }}