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