@extends('backEnd.layouts.master') @section('title', 'Withdraw Requests') @section('content')

Employee Withdraw Requests

Approve → Mark Paid (bKash/Cash reference দিয়ে confirm করুন)
Commission Settings
@foreach(['pending' => 'Pending', 'approved' => 'Approved', 'paid' => 'Paid', 'rejected' => 'Rejected', 'all' => 'All'] as $key => $label) {{ $label }} ({{ $counts[$key] ?? 0 }}) @endforeach
@forelse($requests as $row) @empty @endforelse
Date Employee Amount Status Employee Note Admin / Payment Action
{{ $row->created_at->format('d M Y, g:i A') }}
{{ $row->user?->name }}
{{ $row->user?->email }}
৳{{ number_format($row->amount, 0) }} {{ $row->statusLabel() }} {{ $row->employee_note ?: '—' }} @if($row->payment_method || $row->payment_ref) {{ $row->payment_method }} — {{ $row->payment_ref }} @elseif($row->admin_note) {{ $row->admin_note }} @else — @endif @if($row->processor)
by {{ $row->processor->name }}
@endif
@if($row->status === 'pending')
@csrf
@elseif($row->status === 'approved') @else @endif
No withdraw requests.
@if($requests->hasPages()) @endif
@foreach($requests as $row) @if($row->status === 'pending') @endif @if($row->status === 'approved') @endif @endforeach
@endsection