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

Withdraw Report

{{ count($withdraw_history) }} Total Requests
{{-- ===================================================== FILTER ====================================================== --}}
{{-- FROM DATE --}}
{{-- TO DATE --}}
{{-- AGENT --}}
{{-- NAME --}}
{{-- PHONE --}}
{{-- STATUS --}}
@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->copy()->timezone('Asia/Kolkata')->format('d-m-Y') }}
{{ $history->created_at->copy()->timezone('Asia/Kolkata')->format('h:i A') }}
@else - @endif
@if($history->created_at)
{{ $history->created_at->copy()->timezone('Asia/Kolkata')->format('d-m-Y') }}
{{ $history->created_at->copy()->timezone('Asia/Kolkata')->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