@php $primary = $setting?->primary_color ?: '#124a61'; $accent = $setting?->accent_color ?: '#2e86ab'; $companyName = $setting?->company_name ?: $invoice->team?->name; $symbol = $currencySymbol ?: ''; $code = $invoice->currency_code ?: ''; $money = function ($value) use ($symbol, $code) { $formatted = number_format((float) $value, 2); return ($symbol !== '' ? $symbol . ' ' : ($code !== '' ? $code . ' ' : '')) . $formatted; }; $logoUrl = $setting?->logoSrc(); $isPaid = in_array($invoice->status, ['PAID'], true) || (float) $invoice->balance_due <= 0.01; $isPartial = ! $isPaid && (float) $invoice->amount_paid > 0; @endphp
{{ $companyName }}
{{ __('Your payment for invoice') }} {{ $invoice->invoice_number }} {{ __('was received.') }}
@elseif ($isPartial){{ __('A balance remains on invoice') }} {{ $invoice->invoice_number }}.
@else{{ __('We have not yet confirmed your payment for invoice') }} {{ $invoice->invoice_number }}. {{ __('This page will update once it clears.') }}
@endif{{ __('Powered by') }} {{ $companyName }}