@extends('admin.layout') @section('content')
Withdrawal Requests
@foreach($withdrawals as $w) @endforeach
Lender Amount Bank Details Status Requested Actions
{{ $w->user->name }}
{{ $w->user->email }}
£{{ number_format($w->amount, 2) }} {{ $w->bank_name }}
{{ $w->account_name }}
{{ $w->account_number }} / {{ $w->sort_code }}
{{ strtoupper($w->status) }} {{ $w->created_at->format('d/m/Y') }} @if($w->status === 'pending')
@csrf @method('PATCH')
@csrf @method('PATCH')
@elseif($w->status === 'approved')
@csrf @method('PATCH')
@else {{ $w->admin_notes }} @endif
{{ $withdrawals->links() }}
@endsection