|
@if($logoUrl)
{{ $company['name'] }}@endif @if($company['tagline']){{ $company['tagline'] }} @elseif($company['description']){{ $company['description'] }} @endif @if($company['email']){{ $company['email'] }} @endif |
{{ __('invoices.Invoice') }} |
{{ __('invoices.Bill To') }}{{ $user->name }} {{ $user->email }} |
|
| {{ __('invoices.Description') }} | {{ __('invoices.Qty') }} | {{ __('invoices.Amount') }} |
|---|---|---|
|
@if($plan)
{{ __('invoices.:name Plan', ['name' => $plan->name]) }}
@php
$periodLabels = [
'monthly' => __('invoices.Monthly'),
'yearly' => __('invoices.Yearly'),
'lifetime' => __('invoices.Lifetime'),
];
$periodLabel = $periodLabels[$plan->billing_period ?? 'monthly'] ?? ucfirst($plan->billing_period ?? 'Monthly');
@endphp
{{ __('invoices.:period Subscription', ['period' => $periodLabel]) }}
@if($subscription && $subscription->starts_at)
@else
{{ $transaction->type_label }}
{{ __('invoices.Period') }}: {{ $subscription->starts_at->format('M j, Y') }} - {{ $subscription->renewal_at?->format('M j, Y') ?? __('invoices.Ongoing') }} @endif
{{ __('invoices.Transaction ID') }}: {{ $transaction->transaction_id }}
@endif
|
1 | {{ \App\Services\InvoiceService::formatCurrency($transaction->amount, $transaction->currency) }} |
| {{ __('invoices.Subtotal') }}: | {{ \App\Services\InvoiceService::formatCurrency($transaction->amount, $transaction->currency) }} |
| {{ __('invoices.Total') }}: | {{ \App\Services\InvoiceService::formatCurrency($transaction->amount, $transaction->currency) }} |
{{ __('invoices.Thank you for your payment!') }}