{{-- Compact eligibility strip --}}
Contact @if($emailValidity) {{ $emailValidity->validity->label() }} @if($emailValidity->email) {{ $emailValidity->email }} @elseif($emailValidity->reason) {{ $emailValidity->reason }} @endif @endif @if($smsValidity) {{ $smsValidity->validity->label() }} @if($smsValidity->phone) {{ $smsValidity->phone }} @elseif($smsValidity->reason) {{ $smsValidity->reason }} @endif @endif
{{-- Templates grid — click a tile to open composer with that template pre-selected --}}
Send a message
@if($templates->isEmpty())
No templates available. @can('templates.create') Create one → @endcan
@else
@foreach($templates as $channelValue => $group) @php $isEmail = $channelValue === 'email'; $canSend = $isEmail ? $emailValidity?->canSend() : $smsValidity?->canSend(); $disabledReason = $isEmail ? ($emailValidity?->reason ?? '') : ($smsValidity?->reason ?? ''); @endphp @foreach($group as $tpl)
@endforeach @endforeach
@endif {{-- Timeline --}} {{-- Composer offcanvas — co-mounted with the hub for this $model --}}