@extends('layouts.vendor') @section('page-title', 'Finance Overview') @section('vendor-content')
Wallet Balance

₦{{ number_format($walletbalance, 2) }}

Pending Payouts

₦{{ number_format($pendingPayments, 2) }}

Total Payouts

₦{{ number_format($totalPayouts, 2) }}

Wallet Number

{{ $walletnumber }}

@if($walletbalance >= 5000)
Request Payout
@else
You need at least ₦5,000 in your wallet to request a payout.
@endif
Payout and Transaction Overview
Recent Payouts
@forelse ($recentPayouts as $payout) @empty @endforelse
Payout Reference Amount Status Date Requested
{{ $payout->id }} ₦{{ number_format($payout->amount, 2) }} {{ ucfirst($payout->status) }} {{ \Carbon\Carbon::parse($payout->requested_at)->format('d/m/Y H:i') }}
No payout history found
@if($recentPayouts->hasPages())

Showing {{ $recentPayouts->firstItem() }} to {{ $recentPayouts->lastItem() }} of {{ $recentPayouts->total() }} results

{{ $recentPayouts->links() }}
@endif
@push('scripts') @endpush @endsection