@extends('wallet.layouts.master') @section('title','Users') @section('page-css') @endsection @section('content')
| First name | Last name | Total balance | Status | Last login | Registered | View | |
|---|---|---|---|---|---|---|---|
| {{ $user->fname ?: '—' }} | {{ $user->lname ?: '—' }} | @if($isRecoveryPlaceholder) Identity confirmation required @else {{ $user->email }} @endif | @php $total = $userTotals[$user->id] ?? ['usd' => 0.0, 'coins' => [], 'priced' => true]; $breakdown = collect($total['coins']) ->map(fn ($qty, $short) => rtrim(rtrim(number_format($qty, 8, '.', ''), '0'), '.').' '.$short) ->implode(', '); @endphp@if(empty($total['coins'])) $0.00 @else ${{ number_format($total['usd'], 2) }} @unless($total['priced']) @endunless @endif |
@if($isRecoveryPlaceholder)
Recovery identity needed
@elseif(!$user->status)
Blocked
@elseif(empty($user->email_verified_at))
Pending activation
@else
Active
@endif
|
{{ $user->last_login ?: '—' }} | {{ $user->created_at ? $user->created_at->format('n/j/Y, g:i:s A') : '—' }} | @unless($isRecoveryPlaceholder) @else Disabled @endunless |