@if($subscriptions->isEmpty())
@else
@foreach($subscriptions as $sub)
-
{{ $sub->plan->name }}
{{ $sub->billing_cycle?->label() ?? __('Custom') }}
-
{{ $sub->status->label() }}
-
{{ $sub->currency_code }} {{ number_format($sub->amount_paid,siteDecimalPlaces()) }}
-
@if($sub->current_period_end)
{{ __('Ends') }}: {{ $sub->current_period_end->format('d M Y') }}
@elseif($sub->billing_cycle?->isLifetime())
{{ __('Lifetime') }}
@else
-
@endif
-
{{ $sub->created_at->format('d M Y') }}
@endforeach
@endif
@if($subscriptions->hasPages())
{{ $subscriptions->links() }}
@endif