@extends('layouts.landing') @section('title') Withdrawals @endsection @section('content')

Withdrawals

Gross Withdrawals
₦{{number_format($gross_withdrawal, 2)}}
Voluntary Payout
₦{{number_format($voluntary_payout, 2)}}
Donation Payout
₦{{number_format($donation_payout, 2)}}

Clear

{{number_format($withdrawal_count)}} Withdrawals

@php $withdrawal_no = 1 @endphp @if($withdrawals) @foreach($withdrawals as $withdrawal) @php $withdrawal_no++ @endphp @endforeach @else

No record found

@endif
s/n Name Email Payment Type Amount Account Name Account Number Bank Status Requested on Action
{{$withdrawal_no}} {{$withdrawal->name}} {{$withdrawal->email}} {{$withdrawal->payment_type}} ₦{{number_format($withdrawal->amount, 2)}} {{$withdrawal->account_name}} {{$withdrawal->account_number}} {{$withdrawal->bank_name}} {{$withdrawal->status}} {{\Carbon\Carbon::parse($withdrawal->created_at)->toFormattedDateString()}}
@include('elements.withdrawal-modal') @endsection