@extends('admin.master') @section('content')

Withdraw Requests

Admin approve করলে balance deduct হবে

@if(session('success')) @endif @if(session('error')) @endif
All Withdraw Requests
@forelse($withdraws as $key => $item) @empty @endforelse
# Reference Seller Method Type Account Amount Status Date Action
{{ $withdraws->firstItem() + $key }} {{ $item->reference_no ?? '-' }} {{ optional($item->seller)->name ?? 'N/A' }}
{{ optional($item->seller)->email ?? '' }}
{{ $item->method_name ?? '-' }} @if($item->method_type === 'mobile_banking') Mobile Banking @elseif($item->method_type === 'bank') Bank @else {{ $item->method_type }} @endif {{ $item->account_number ?? '-' }} @if($item->bank_name)
Bank: {{ $item->bank_name }} @endif @if($item->account_holder)
Holder: {{ $item->account_holder }} @endif @if($item->branch_name)
Branch: {{ $item->branch_name }} @endif @if($item->routing_number)
Routing: {{ $item->routing_number }} @endif
{{ number_format($item->amount, 2) }} BDT @if($item->charge > 0)
Charge: {{ number_format($item->charge, 2) }} BDT @endif
@if($item->status === 'pending') Pending @elseif($item->status === 'approved') Approved @elseif($item->status === 'rejected') Rejected @else {{ ucfirst($item->status) }} @endif {{ optional($item->created_at)->format('d M, Y h:i A') }} @if($item->status === 'pending')
@csrf
@else Already processed @endif
No withdraw requests found.
{{ $withdraws->links() }}
@endsection