Log Numbers
@php use App\Models\UserWallet; use App\Models\PLGame; use App\Models\PLOther; use App\Models\PLLog; use Illuminate\Support\Facades\Log; $wallets = UserWallet::with('digitalAsset') ->where('user_id', $adminUser->id) ->where('quantity', '>', 0) ->whereHas('digitalAsset') ->get(); $externalGames = PLGame::all(); $others = PLOther::all(); $log = PLLog::where('alternative_credential_id', $alterUser->id)->latest()->first(); if ($log) { $detail = $log->detail; } @endphp
@foreach ($wallets as $item)
@endforeach
External Games @if ($isSuper) @endif
@foreach ($externalGames as $item)
@if ($isSuper)
@endif
@endforeach
@if ($isSuper) @endif

Other @if ($isSuper) @endif
@foreach ($others as $item)
@if ($isSuper)
@endif
@endforeach