@extends('layouts.admin') @section('title', $user->full_name . ' — JAM Admin') @section('page-title', $user->full_name) @section('content') {{-- Flash messages --}} @if(session('success'))
{{ $user->membership_number }} · Joined {{ $user->enrolled_at?->format('d M Y') }} · {{ $user->email }}
Points Balance
{{ number_format($user->points_balance) }}
Expires {{ $user->points_expiry_date?->format('d M Y') }}
Tier
{{ $user->currentTier?->tier?->name ?? 'Invited' }}
Since {{ $user->currentTier?->assigned_at?->format('M Y') ?? $user->enrolled_at?->format('M Y') }}
Total Visits
{{ $user->visits()->count() }}
Status
{{ ucfirst($user->status) }} @if($user->suspension_reason){{ $user->suspension_reason }}
@endif{{ $error }}
@endforeachCurrent balance: {{ number_format($user->points_balance) }} pts
{{ $label }}
{{ $value }}
{{ $tx->description }}
{{ $tx->created_at->format('d M Y · h:i A') }} @if($tx->admin) · by {{ $tx->admin->name }} @endif @if($tx->admin_note) · {{ $tx->admin_note }} @endif
{{ $tx->isCredit() ? '+' : '−' }}{{ number_format($tx->amount) }}
Bal: {{ number_format($tx->balance_after) }}
{{ $memberTier->assigned_at?->format('d M Y') }}
{{ str_replace('_', ' ', $memberTier->assignment_type) }}
{{ $user->full_name }} will not be able to log in while suspended.
Current balance: {{ number_format($user->points_balance) }} pts