@php $name = trim((string) ($owner_name ?? '')); $store = trim((string) ($store_name ?? '')); $status = trim((string) ($status_text ?? '')); $bizUrl = trim((string) ($business_url ?? '')); $community = null; try { $community = app('App\\Repositories\\CommunityRepository')->getById((int) ($community_id ?? 0)); } catch (\Throwable $e) { $community = null; } @endphp

Hello {!! $name !== '' ? e($name) : 'there' !!},

Your store KYC has been {!! e($status !== '' ? $status : 'updated') !!}{!! $store !== '' ? ' for '.e($store).'' : '' !!}.

@if($bizUrl !== '')

Store URL: {!! e($bizUrl) !!}

@endif @if($community && $community->email_signature) {!! $community->email_signature !!} @elseif($community)

Sincerely,

{!! e((string) ($community->title ?? '')) !!}
{!! e((string) ($community->address ?? '')) !!}
{!! e(ucfirst((string) ($community->city ?? ''))) !!},{!! e((string) ($community->zip ?? '')) !!}
{!! e(ucfirst((string) ($community->state ?? ''))) !!},{!! e(ucfirst((string) ($community->country ?? ''))) !!}
Tel: {!! e((string) ($community->contact ?? '')) !!}
Email: {!! e((string) ($community->email ?? '')) !!}

@endif