@extends('layouts.admin') @section('title', 'Deposit History') @section('content')

Deposit History

Track and manage delivery man deposit records

Total Deposits

DT{{ number_format($totalDeposits, 2) }}

This Month

DT{{ number_format($monthlyDeposits, 2) }}

Total Records

{{ $totalRecords }}

All Deposits

@forelse($deposits as $index => $deposit) @empty @endforelse
# Delivery Man Deposit Amount Method Status Created At
{{ $deposits->firstItem() + $index }}
{{ $deposit->deliveryMan->first_name }} {{ $deposit->deliveryMan->last_name }}
{{ $deposit->deliveryMan->email }}
DT{{ number_format($deposit->amount, 2) }} {{ ucfirst($deposit->method ?? 'Cash') }} {{ ucfirst($deposit->status ?? 'Pending') }}
{{ $deposit->created_at->format('M d, Y') }}
{{ $deposit->created_at->format('h:i a') }}

No deposit records

Deposit records will appear here once deposits are made.

@if($deposits->hasPages())

Showing {{ $deposits->firstItem() }}-{{ $deposits->lastItem() }} of {{ $deposits->total() }}

{{ $deposits->links() }}
@endif
@endsection