@extends('admin.dashboard.layouts.app') @section('main')

Withdraw Requests

@if(session('success'))
{{ session('success') }}
@endif
@foreach($requests as $req) @endforeach
ID Organization Name UPI ID Amount (৳) Status Requested At Action
{{ $req->id }} {{ $req->organization->name ?? 'N/A' }} {{ $req->organization->upi_id ?? 'N/A' }} ৳ {{ number_format($req->amount, 2) }} @if($req->status == 'pending') Pending @elseif($req->status == 'approved') Approved @else Rejected @endif {{ $req->created_at->format('d M Y, h:i A') }} @if($req->status == 'pending')
@csrf
@csrf
@else No actions @endif
@csrf
@endsection