@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(); $methodLabel = ['ecocash' => 'EcoCash', 'onemoney' => 'OneMoney', 'innbucks' => 'InnBucks'][$method] ?? ucfirst($method); @endphp {{ __('Confirm on your phone') }} · {{ $invoice->invoice_number }} {{-- Built stylesheet, not the CDN: it carries the self-hosted icon font. --}} @vite(['resources/css/app.css'])
@if ($logoUrl) {{ $companyName }} @endif

{{ $companyName }}

{{ __('Awaiting your approval') }}

{{ __('We sent a :method payment request to', ['method' => $methodLabel]) }} {{ $phone }}. {{ __('Enter your PIN on the prompt to authorise the payment.') }}

@if ($instructions)
{!! nl2br(e($instructions)) !!}
@endif

{{ __('Waiting for confirmation…') }}

{{ __('Total') }}
{{ $money($invoice->total) }}
{{ __('Balance Due') }}
{{ $money($invoice->balance_due) }}
{{ __('Back to invoice') }}

{{ __('Powered by') }} {{ $companyName }}