@php $label = $document->kind === 'estimate' ? 'Estimate' : 'Invoice'; $fmt = fn ($n) => $document->currency.' '.number_format((float) $n, 2); @endphp
|
{{ $businessName }} {{ $label }} {{ $document->number }}Hi {{ $document->customer_name }}, Please find your {{ strtolower($label) }} from {{ $businessName }}.
If the button does not work, open this link: {{ $url }} |