{{-- Header --}} {{-- Body --}}
{{ config('app.name') }} Payment Received

A payment has been successfully received.

@if ($invoice->coupon_code) @endif
Payment Details
Invoice {{ $invoice->invoice_number ?? ('#'.$invoice->id) }}
Client {{ $invoice->name }} — {{ $invoice->business_name }}
Email {{ $invoice->email }}
Coupon Used {{ $invoice->coupon_code }}
Subtotal ${{ number_format((float) $invoice->amount, 2) }} CAD
GST (5%) ${{ number_format((float) $invoice->amount * 0.05, 2) }} CAD
Total Received ${{ number_format((float) $invoice->amount * 1.05, 2) }} CAD

Paid at: {{ $invoice->paid_at?->format('M d, Y h:i A') ?? 'Just now' }}
Stripe Payment Intent: {{ $invoice->stripe_payment_intent_id ?? 'N/A' }}