@extends('layouts.admin') @push('css') @endpush @section('content')
@include('admin.withdraw.withdraw_report_topbar')
Withdraw Report List
{{-- Clear --}} Clear
@if($type == 'pending') @endif
@if($type == 'pending') @endif @foreach ($withdraw_reports as $withdraw_report) @if($type == 'pending') @endif @if($type != 'payment_not_received') @else @endif @endforeach
Sl. Bank Name Account Type Account Holder Name Issue Date Amount Date Status
{{$loop->iteration}} {{ @$withdraw_report->cheque_bank->account_name }} {{ $withdraw_report->name }} ({{ $withdraw_report->user_id }}) @if($withdraw_report->type=='By_Bank_Account_Cheque') By Bank Account Cheque @elseif($withdraw_report->type=='By_Cash_Cheque') By Cash Cheque @elseif($withdraw_report->type=='By_Cash') By Cash @endif {{ @$withdraw_report->cheque_name }} {{ \Carbon\Carbon::parse($withdraw_report->issue_date)->format('d-M-Y') }} {{ number_format($withdraw_report->withdraw_amount) }} {{ \Carbon\Carbon::parse($withdraw_report->date)->format('d-M-Y') }} @if($withdraw_report->status == 'Pending') Pending @elseif($withdraw_report->status == 'Confirmed') Accepted @if($withdraw_report->type != 'By Cash') @php $available_balance = total_available_balance($withdraw_report->agent_id); @endphp @if($available_balance >= $withdraw_report->withdraw_amount) Cheque Details @endif @endif @elseif($withdraw_report->status == 'Payment Not Received') @else @if($withdraw_report->type != 'By Cash') Cheque Details @endif @endif
{{ csrf_field() }} @method("DELETE")
{{ $withdraw_reports->appends(request()->query())->links() }}
@push('alljs') @endpush @endsection