@extends('emails.layouts.branded') @section('title', 'Appointment reminder | '.($emailBrand['name'] ?? 'Account Services')) @section('preheader', 'An upcoming lead appointment requires your attention.') @section('content')
CRM reminder

Upcoming appointment

An appointment linked to a lead is approaching.

@foreach([ 'Title' => $appointment->title, 'Lead' => trim(($lead->first_name ?? '').' '.($lead->last_name ?? '')).' ('.($lead->lead_code ?? 'N/A').')', 'Date and time' => optional($appointment->start_at)->format('d-m-Y H:i:s') ?: 'N/A', 'Assigned agent' => $agent->name ?? $agent->full_name ?? 'N/A', ] as $label => $value) @endforeach
{{ $label }}{{ $value }}
@if(filled($appointment->notes ?? null))
Notes
{{ $appointment->notes }}
@endif
@endsection