@extends('user.layouts') @section('title', 'Withdraw Request History') @section('header') @endsection @section('content')
{{-- PAGE HEADER --}}

Withdraw History

Search, filter and export withdraw request history

{{ count($withdraw_history) }} Total Requests
{{-- ===================================================== FILTER ====================================================== --}}
Search & Filter
Find withdraw requests using the required filters
{{-- FROM DATE --}}
{{-- TO DATE --}}
{{-- AGENT --}}
{{-- NAME --}}
{{-- PHONE --}}
{{-- STATUS --}}
{{-- GENERAL SEARCH --}}
{{-- ===================================================== TABLE CARD ====================================================== --}}
Withdraw Requests
Complete withdrawal transaction history
{{ count($withdraw_history) }} Records
@foreach ($withdraw_history as $history) {{-- SN --}} {{-- DATE --}} {{-- REQUEST DATE --}} {{-- AGENT --}} {{-- NAME --}} {{-- PHONE --}} {{-- BANK DETAILS --}} {{-- AMOUNT --}} {{-- TDS --}} {{-- PAYABLE --}} {{-- REMARK --}} {{-- STATUS --}} @endforeach
SN DATE REQUEST DATE AGENT ID NAME PHONE NO BANK DETAILS AMOUNT TDS PAYABLE REMARK STATUS
{{ $loop->iteration }} @if($history->created_at)
{{ $history->created_at->format('d-m-Y') }}
{{ $history->created_at->format('h:i A') }}
@else - @endif
@if($history->created_at)
{{ $history->created_at->format('d-m-Y') }}
{{ $history->created_at->format('h:i A') }}
@else - @endif
{{ $history->agent_id ?? '-' }} {{ optional($history->user)->name ?? 'N/A' }} {{ $history->phone_no ?? '-' }}
{{ $history->bank_name ?? 'N/A' }}
Holder {{ $history->account_name ?? 'N/A' }}
A/C No
IFSC: {{ $history->ifsc ?? 'N/A' }} Branch: {{ $history->branch_name ?? 'N/A' }}
₹{{ number_format($history->amount ?? 0, 2) }} ₹{{ number_format($history->tds ?? 0, 2) }} ₹{{ number_format($history->payable_amount ?? 0, 2) }} {{ $history->remark ?? '-' }} @if ($history->is_verified == 0) Rejected @else Approved @endif
@endsection @section('footer') {{-- jQuery --}} {{-- DataTable --}} {{-- Export --}} @endsection