@extends('admin.layouts') @section('title', 'User Management - View User Details') @section('header') @endsection @section('content')
{{-- Page Header with User Info --}}

Add Wallet Coins

ID: {{ $user->user_id }} {{ $user->name }}
{{-- Centered Form --}}
@csrf
{{-- Full Width Table --}}

History

@forelse($walletHistory as $index => $history) @empty @endforelse
S/N Date Coins Type Status
{{ $index + 1 }} {{ \Carbon\Carbon::parse($history->created_at)->format('d-m-Y') }} {{ $history->coins }} {{ $history->type }} @if($history->status == 'Success') Success @elseif($history->status == 'Failed') Failed @else {{ $history->status }} @endif
No history found
@endsection @push('styles') @endpush