@extends('layouts.app')
@section('title', 'User Dashboard')
@section('content')
{{-- ── Page Header ──────────────────────────────────── --}}
{{-- ── Profile Card ─────────────────────────────── --}}
{{-- ── Subscription Card ────────────────────────── --}}
@if(isset($activeSubscription) && $activeSubscription)
@php $activeCount = $user->subscriptions()->whereIn('status', ['active', 'trialing'])->count(); @endphp
Current Plan
{{ $activeSubscription->order?->product_display_name ?? $activeSubscription->provider_product_id ?? 'Subscription' }}
Next payment: {{ $activeSubscription->current_period_end ? $activeSubscription->current_period_end->format('d/m/Y') : '—' }}
@if($activeCount > 1)
{{ $activeCount }} active subscriptions
@endif
Billing & Subscription
@endif
{{-- ── Services Card ────────────────────────────── --}}
Services
View and manage all your active services in one place.
My Services
@endsection