@extends('admin.template.app') @section('title', 'User withdraw history') @section('content')
| NO. | Withdraw By | Before Balance | Withdraw Amount | Withdraw Charge | Current Balance | Bank Name | Account Holder Name | Account Number | Remark | Status | Approved By | Date |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $withdraw->user->name ?? 'N/A' }} | {{ number_format($withdraw->before_balance, 2) }} | {{ number_format($withdraw->withdraw_amount, 2) }} | {{ number_format($withdraw->withdraw_charge, 2) }} | {{ number_format($withdraw->current_balance, 2) }} | {{ $withdraw->user->bank_name }} | {{ $withdraw->user->account_holder_name }} | {{ $withdraw->user->bank_account_number }} | {{ $withdraw->remark ?? 'N/A' }} | @if ($withdraw->status == 'pending') Pending @elseif($withdraw->status == 'approved') Approved @else Rejected @endif | {{ $withdraw->user->name ?? 'N/A' }} | {{ $withdraw->created_at->format('d M Y h:i A') }} |
| No withdraw history found. | ||||||||||||