@php $fmt = fn ($v) => '$'.number_format((float) $v, 2); $cycleLabel = ['monthly' => '/mo', 'quarterly' => '/qtr', 'semiannual' => '/6mo', 'yearly' => '/yr', 'lifetime' => ' lifetime']; $statusBadge = [ 'trial' => 'bg-blue-500/15 text-blue-400', 'active' => 'bg-green-500/15 text-green-400', 'renewing' => 'bg-brand/20 text-brand-500', 'grace' => 'bg-amber-500/15 text-amber-400', 'suspended' => 'bg-amber-500/15 text-amber-400', 'expired' => 'bg-slate-500/15 text-slate-400', 'cancelled' => 'bg-red-500/15 text-red-400', ]; // Same platform colors as the dashboard (validated set). $platformMeta = \App\Services\UserDashboardMetrics::PLATFORM_META; // Edition-aware quota labels; rows not in the plan (limit 0, unused) are skipped below. $quotaLabels = collect(\App\Support\PlanLimits::QUOTA_LABELS)->except('max_storage_mb')->all(); $bar = function ($used, $limit) { if ($limit === null) return ['pct' => 6, 'text' => number_format($used).' / ∞', 'full' => false, 'warn' => false]; if ($limit == 0) return ['pct' => 0, 'text' => number_format($used).' / 0', 'full' => false, 'warn' => false]; $pct = min(100, round($used / $limit * 100)); return ['pct' => $pct, 'text' => number_format($used).' / '.number_format($limit), 'full' => $pct >= 100, 'warn' => $pct >= 85]; }; @endphp
Manage your plan, usage and invoices.
{{ $fmt($sub->amount) }}{{ $cycleLabel[$sub->billing_cycle] ?? '' }}
Choose a plan to unlock publishing, scheduling and automation.
No platform accounts in your plan yet.
@endforelseNo invoices yet.
@endforelseNo payments yet.
@endforelse{{ $message }}
@enderrorNo {{ $productTab === 'cloud' ? 'Web Cloud' : 'Desktop' }} packages are available yet.
@endif{{ $message }}
@enderror {{-- Payment method (hidden entirely for free orders) --}} @if ($freeOrder)No payment methods are available yet. Please contact support.
@endifAn invoice is emailed to you. Card methods activate instantly; manual methods activate once we confirm your payment.
@endunlessSend {{ $pendingOrder['amount'] }} using the details below, then share your receipt. We'll confirm and activate your plan.
@if (! empty($pendingOrder['method']))