@php
$plan = $currentSubscription?->plan;
$features = is_array($plan?->features) ? $plan->features : [];
@endphp
Active Subscription
{{ $plan?->description ?? 'No active subscription found.' }}
{{ $plan ? number_format($plan->price) : '0' }}
{{ $plan?->billing_cycle ?? 'monthly' }}
- Status
- {{ ucfirst($currentSubscription->status ?? 'inactive') }}
- Starts At
- {{ optional($currentSubscription?->starts_at)->format('d M Y') ?? 'N/A' }}
- Ends At
- {{ optional($currentSubscription?->ends_at)->format('d M Y') ?? 'N/A' }}
- Payment Ref
- {{ $currentSubscription?->billing_reference ?? 'N/A' }}
- Storage
- {{ $plan?->storage_mb ?? 0 }} MB