@extends('layouts.app') @section('title', 'Upgrade Plan') @section('content')

Choose Your Plan

Your balance: ${{ number_format($user->balance, 2) }}

@if($user->activePlan)
Active: {{ $user->activePlan->plan->name }} plan (expires {{ $user->activePlan->expires_at->format('M d, Y') }})
@endif
@foreach($plans as $plan)
@if($plan->name === 'Basic')
MOST POPULAR
@endif @if($plan->name === 'VIP')
VIP
@endif

{{ $plan->name }}

${{ number_format($plan->price, 2) }}

for {{ $plan->duration_days }} days

{{ $plan->daily_survey_limit }} surveys per day
Access to premium surveys
Referral commissions
@if($plan->description)

{{ $plan->description }}

@endif
@if($user->activePlan && $user->activePlan->plan_id === $plan->id) @elseif($plan->price == 0) @else
@csrf
@endif
@endforeach
Plans are deducted from your wallet balance. Deposit funds if needed.
@endsection