@php $billingInvoiceCssPath = public_path('css/billing_invoice_pdf.css'); @endphp @if (is_file($billingInvoiceCssPath) && is_readable($billingInvoiceCssPath)) @endif
INVOICESubscription Payment |
Invoice Number {{ $payment->invoice_number }} Date: {{ $payment->paid_at ? $payment->paid_at->format('M d, Y') : $payment->created_at->format('M d, Y') }} |
|
Billed To {{ $tenant->company_name ?? $tenant->id ?? $payment->tenant_id }} @if(($tenant->admin_email ?? null)){{ $tenant->admin_email }} @endif |
Payment Details Gateway: {{ ucfirst($payment->gateway) }} Status: Paid @if($payment->transaction_id)Ref: {{ $payment->transaction_id }} @endif |
| Description | Billing Cycle | Amount |
|---|---|---|
|
{{ $plan->name ?? 'Subscription' }} Plan
@if($subscription && $subscription->starts_at && $subscription->ends_at)
{{ $subscription->starts_at->format('M d, Y') }} — {{ $subscription->ends_at->format('M d, Y') }} @endif |
{{ ucfirst($payment->billing_cycle) }} | {{ \App\Models\Central\GeneralSetting::currencySymbol() }}{{ number_format($payment->amount, 2) }} {{ $payment->currency }} |
| Subtotal | {{ \App\Models\Central\GeneralSetting::currencySymbol() }}{{ number_format($payment->amount, 2) }} |
| Tax | {{ \App\Models\Central\GeneralSetting::currencySymbol() }}{{ number_format($payment->tax, 2) }} |
| Total | {{ \App\Models\Central\GeneralSetting::currencySymbol() }}{{ number_format($payment->amount + ($payment->tax ?? 0), 2) }} {{ $payment->currency }} |