@extends('layouts.admin') @section('title', 'Delivery Men') @section('content')
Manage your delivery staff and track their performance.
| # | Name | Phone | Last Login | Salary | Pickup Hub | Status | Balance | Total Collection | Total Commission | Options |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $deliveryMen->firstItem() + $index }} |
{{ $man->first_name }} {{ $man->last_name }}
{{ str_replace(['@', '.'], ['*****@', '*******.'], $man->email) }} |
@if($man->phone) {{ substr($man->phone, 0, 3) . '***********' . substr($man->phone, -3) }} @else - @endif | {{ $man->updated_at ? $man->updated_at->format('M d, Y h:i a') : 'Never' }} | DT{{ number_format($man->salary ?? 0, 2) }} | {{ $man->pickupHub?->name ?: '-' }} | DT{{ number_format($man->balance ?? 0, 2) }} | DT{{ number_format($man->total_collection ?? 0, 2) }} | DT{{ number_format($man->total_commission ?? 0, 2) }} | ||
| No delivery men found. Add your first delivery man. | ||||||||||