@extends('admin.layouts.app') @section('title', 'Withdrawals') @section('content')

Users Transcations

@if(session('success')) @endif @if(session('error')) @endif
@forelse ($transcations as $index => $transcation) @empty @endforelse
# User Amount Method Transcation ID Date & Time Status
{{ $loop->index +1 }} {{ $transcation->user->name ?? 'Unknown' }}
{{ $transcation->user->email ?? '' }}
₹{{ number_format($transcation->entry_fee, 2) }} {{ $transcation->payment_method }} {{ $transcation->transaction_id }} {{ $transcation->created_at->format('d M Y') }}
{{ $transcation->created_at->format('h:i A') }}
@if($transcation->payment_status == 'cancel') Pending @elseif($transcation->payment_status == 'paid') Approved @else failed @endif
No withdrawals requested yet.
{{ $transcations->links() }}
@endsection