{{ __('email.common.greeting', ['name' => $invoice->client?->first_name ?? __('email.common.customer')]) }}
{{ __('email.auto_charge_failed.attempted', ['amount' => money_fmt($amount), 'number' => $invoice->invoice_num ?? $invoice->id]) }}
| {{ __('email.common.invoice_number_label') }} | {{ $invoice->invoice_num ?? $invoice->id }} |
| {{ __('email.common.amount_label') }} | {{ money_fmt($amount) }} |
| {{ __('email.common.due_date_label') }} | {{ $invoice->due_date?->format(date_fmt()) ?? '—' }} |
| {{ __('email.auto_charge_failed.card_label') }} | {{ $paymentMethod->card_brand ? ucfirst($paymentMethod->card_brand).' ' : '' }}@if($paymentMethod->last_four)•••• {{ $paymentMethod->last_four }}@else{{ $paymentMethod->description ?: '—' }}@endif |
{{ __('email.auto_charge_failed.card_ended') }}
@endif @if($retryAt){{ __('email.auto_charge_failed.will_retry', ['date' => $retryAt->format(date_fmt())]) }}
@else{{ __('email.auto_charge_failed.given_up') }}
{{ __('email.auto_charge_failed.please_pay') }}
@endif @include('emails.partials.action', ['url' => route('client.invoices.show', $invoice->id), 'label' => __('email.common.pay_invoice')]){{ __('email.common.update_payment_method') }}
{{ $companyName }}