@extends('user.layout.app') @section('title', 'Subscription') @section('content')

Subscription

{{-- @if(session('success')) @endif @if(session('error')) @endif --}}

Subscription Status

@if(Auth::user()->hasActiveSubscription())
Active Subscription

You have access to all premium features including unlimited downloads and multiple PDF designs.

Premium
@else
No Active Subscription

Upgrade to a premium plan to unlock unlimited downloads and multiple PDF designs.

@endif
@if(($subscriptions ?? collect())->isEmpty())

No Active Subscriptions

You don't have any active subscriptions. Choose a plan to get started.

Choose a Plan
@else

Subscription Details

{{-- --}} @foreach($subscriptions as $subscription) @php $interval = $subscription->interval; $priceJson = data_get($subscription->plan, 'price', []); $price = $interval === 'year' ? (data_get($priceJson, 'yearly_price')) : (data_get($priceJson, 'monthly_price')); @endphp {{-- --}} @endforeach
Plan Interval Price Status Next BillingActions
{{ $subscription->plan->title ?? '—' }}
@if(!empty($subscription->plan->description)) {{ $subscription->plan->description }} @endif
{{ ucfirst($interval ?? '—') }} @if(!is_null($price)) ${{ number_format((float)$price, 2) }} /{{ $interval === 'year' ? 'year' : 'month' }} @else — @endif @php $isActive = $subscription->status === 'active'; @endphp {{ ucfirst($subscription->status) }} {{ optional($subscription->current_period_end)->toFormattedDateString() ?? '—' }}
@if($isActive) @endif

Premium Features

Unlimited Downloads
Download resumes anytime
4 PDF Designs
Modern, Classic, Minimal, Creative
AI Assistance
Smart content suggestions
Priority Support
24/7 customer support
@endif
@endsection