@extends('layouts.app') @section('custom-css') @endsection @section('content')
Riders Record
@csrf
Rider Parcels List
@foreach($staffList as $key => $rider) @if(count($rider->totalOrders) > 0) @if(!empty($rider->userDetail->joining_date)) @else @endif @if(!empty($_POST['date'])) @else @endif
Warning: Undefined variable $rider in /home/ahlpk/public_html/admin/backup/resources/views/supervisor/rider-detail.blade.php on line 113

Warning: Attempt to read property "totalOrders" on null in /home/ahlpk/public_html/admin/backup/resources/views/supervisor/rider-detail.blade.php on line 113

Warning: foreach() argument must be of type array|object, null given in /home/ahlpk/public_html/admin/backup/resources/views/supervisor/rider-detail.blade.php on line 113

Warning: Undefined variable $rider in /home/ahlpk/public_html/admin/backup/resources/views/supervisor/rider-detail.blade.php on line 117

Warning: Attempt to read property "deliveredOrders" on null in /home/ahlpk/public_html/admin/backup/resources/views/supervisor/rider-detail.blade.php on line 117

Warning: foreach() argument must be of type array|object, null given in /home/ahlpk/public_html/admin/backup/resources/views/supervisor/rider-detail.blade.php on line 117

Fatal error: Uncaught Error: Class "App\Models\RiderCashCollection" not found in /home/ahlpk/public_html/admin/backup/resources/views/supervisor/rider-detail.blade.php:121 Stack trace: #0 {main} thrown in /home/ahlpk/public_html/admin/backup/resources/views/supervisor/rider-detail.blade.php on line 121
# Rider Name Assigned Supervisor Joining Date Joining Days Working Days Total Parcels COD Delivered Parcels COD Cash Submitted Cashier Name Total Parcels Delivered Cancel Re-Attempt Un-Attempted Delivered Ratio Cancel Ratio Re-Attempt Ratio Load Sheet Uniform Bag Code Insurance Medical
{{$rider->name}} ({{$rider->userDetail ? $rider->userDetail->phone : 'N/A'}}) {{ ($rider->supervisorPerson) ? $rider->supervisorPerson->name : ''}}{{date('d-M-Y', strtotime($rider->userDetail ? $rider->userDetail->joining_date : ''))}} {{\Carbon\Carbon::parse($rider->userDetail->joining_date)->diffInDays(\Carbon\Carbon::now())}} Days {{\App\Models\OrderAssigned::where('rider_id', $rider->id)->whereDate('created_at','>=', $_POST['date'])->whereDate('created_at','<=',$_POST['to'])->distinct()->count(DB::raw('DATE(created_at)'))}} Days1 Day