@php $branding = app(\App\Services\EmailBrandingService::class)->get(); @endphp
|
{{ $branding['org_name'] }}
@if (! empty($branding['address']))
{!! nl2br(e($branding['address'])) !!}
@endif
@php
$contactParts = [];
if (! empty($branding['phone'])) $contactParts[] = 'Tel: ' . $branding['phone'];
if (! empty($branding['contact_email'])) $contactParts[] = 'Email: ' . $branding['contact_email'];
if (! empty($branding['website'])) $contactParts[] = $branding['website'];
@endphp
@if ($contactParts !== [])
{{ implode(' | ', $contactParts) }}
@endif
@if (! empty($branding['footer_note']))
{{ $branding['footer_note'] }}
@endif
@if (trim((string) $slot) !== '')
{{ Illuminate\Mail\Markdown::parse($slot) }}
@endif
|