|
Billing Details
|
Hi {{ $customer->name }},
@if($payment)
Your payment has been successfully processed. Below is your receipt.
@else
Your plan has been successfully activated. No upfront payment was required.
@endif
|
|
Email
|
{{ $customer->email }}
|
|
Transaction ID
|
{{ optional($payment)->transaction_id ?? 'N/A' }}
|
|
Payment Method
|
{{ optional($payment)->payment_method ?? 'PAYG (No upfront charge)' }}
|
|
Date
|
{{ optional(optional($payment)->paid_at)?->format('d M Y') ?? 'N/A' }}
|
|
|
|
Order Summary
|
@if($plan)
{{ $plan->name }}
Plan
|
@endif
@if($addons && count($addons))
@foreach($addons as $addon)
|
{{ $addon->addon->name }}
Add-on · {{ $addon->minutes }} Minutes
|
@endforeach
@endif
@if($payment)
| Sub Total |
${{ number_format($payment->amount / (1 + ($payment->tax_percentage / 100)), 2) }}
|
|
GST ({{ $payment->tax_percentage }}%)
|
${{ number_format($payment->amount - ($payment->amount / (1 + ($payment->tax_percentage / 100))), 2) }}
|
|
Total
|
${{ number_format($payment->amount, 2) }}
|
|
@endif
@if(!$payment)
|
This is a PAYG plan. You will be billed based on usage.
|
@endif
|