@extends('layouts.admin') @section('title', 'Collection History') @section('content')
Track and manage delivery collection records
Total Collected
DT{{ number_format($totalCollections, 2) }}
This Month
DT{{ number_format($monthlyCollections, 2) }}
Total Records
{{ $totalRecords }}
| # | Delivery Man | Order | Collected Amount | Status | Created At |
|---|---|---|---|---|---|
| {{ $collections->firstItem() + $index }} |
{{ $collection->deliveryMan->first_name }} {{ $collection->deliveryMan->last_name }}
{{ $collection->deliveryMan->email }}
|
@if($collection->order) #{{ $collection->order->order_number ?? $collection->order->id }} @else - @endif | DT{{ number_format($collection->amount, 2) }} | {{ ucfirst($collection->status ?? 'Pending') }} |
{{ $collection->created_at->format('M d, Y') }}
{{ $collection->created_at->format('h:i a') }}
|
No collection recordsCollection records will appear here once deliveries are collected. |
|||||
Showing {{ $collections->firstItem() }}-{{ $collections->lastItem() }} of {{ $collections->total() }}
{{ $collections->links() }}