@extends('layouts.admin') @section('title', 'Cash Collection') @section('content')
Summary of COD collected from delivered parcels
Riders with COD
{{ $totalRidersWithCOD }}
Total Parcels
{{ $totalParcels }}
Total COD
Rs. {{ number_format($totalCOD, 2) }}
| Rider | Phone | Parcels | Total COD | Details |
|---|---|---|---|---|
| {{ $rider->name }} | {{ $rider->phone }} | {{ $parcelCount }} | Rs. {{ number_format($riderTotalCOD, 2) }} | @forelse($rider->parcels as $parcel) #{{ $parcel->tracking_id ?? $parcel->id }} (Rs. {{ number_format($parcel->cod_amount, 2) }}) @empty No parcels @endforelse |
| No COD collections found. | ||||