@php $input = 'w-full rounded-xl border border-edge bg-ink px-3.5 py-2.5 text-sm text-slate-100 placeholder:text-slate-500 focus:border-brand focus:ring-2 focus:ring-brand/30'; $lbl = 'mb-1.5 block text-sm font-medium text-slate-300'; $statusChip = ['active' => 'bg-green-500/15 text-green-400', 'suspended' => 'bg-red-500/15 text-red-400', 'pending' => 'bg-amber-500/15 text-amber-400'][$user->status] ?? 'bg-slate-500/15 text-slate-400'; $roleChip = ['super_admin' => 'bg-brand/15 text-brand-500', 'staff' => 'bg-blue-500/15 text-blue-400'][$user->role] ?? 'bg-slate-500/15 text-slate-400'; $plan = optional($user->currentSubscription)->plan; $tabs = ['overview' => 'Overview', 'account' => 'Account Information', 'subscription' => 'Subscription', 'activity' => 'Activity Log', 'connected' => 'Connected Accounts', 'permissions' => 'Permissions']; $platMeta = ['facebook' => ['Facebook', '#1877f2'], 'instagram' => ['Instagram', '#d62976'], 'tiktok' => ['TikTok', '#22d3ee'], 'youtube' => ['YouTube', '#ef4444'], 'linkedin' => ['LinkedIn', '#0a66c2'], 'threads' => ['Threads', '#a855f7']]; $row = fn ($k, $v) => '
{{ $user->id }}
copied
{{ $newPassword }}
| Plan | Price | Status | Started | Ends | Action |
|---|---|---|---|---|---|
| {{ $sub->plan?->name ?? '—' }} | ${{ number_format($sub->plan?->price ?? 0, 2) }} | {{ $sub->status }} | {{ $sub->starts_at?->format('M j, Y') ?? '—' }} | {{ $sub->ends_at?->format('M j, Y') ?? '—' }} | @if ($sub->status === 'active')@endif |
| No subscription history. | |||||
Per-account details (avatar, last sync, posts) live in the user's desktop app; the server sees aggregate counts.
@endif{{ $user->isSuperAdmin() ? 'Super admin — full unrestricted access.' : 'No granular permissions (standard customer access).' }}
@endifStorage figures are illustrative until the desktop reports per-user usage.