@extends('admin.layouts.base') @section('title', 'Admin Dashboard') @section('content')
| User | Route | Status | Date |
|---|---|---|---|
|
{{ substr($quote->user->fullname ?? 'N/A', 0, 1) }}
{{ $quote->user->fullname ?? 'N/A' }}
{{ $quote->user->email ?? 'N/A' }}
|
{{ $quote->pickupDetail->city ?? 'N/A' }} → {{ $quote->deliveryDetail->city ?? 'N/A' }} {{ $quote->pickupDetail->state ?? '' }} to {{ $quote->deliveryDetail->state ?? '' }} | {{ ucfirst($quote->status) }} | {{ $quote->created_at->format('M d, Y') }} |
| No quotes found | |||
| User | Carrier | Amount | Status | Date |
|---|---|---|---|---|
|
{{ substr($booking->user->fullname ?? 'N/A', 0, 1) }}
{{ $booking->user->fullname ?? 'N/A' }}
{{ $booking->user->email ?? 'N/A' }}
|
{{ $booking->carrier_data['carrier'] ?? 'N/A' }} {{ $booking->carrier_data['serviceLevelDescription'] ?? 'Standard' }} | ${{ number_format($booking->total_amount, 2) }} | @php $statusColors = [ 'pending' => 'warning', 'approved' => 'info', 'confirmed' => 'success', 'rejected' => 'danger' ]; @endphp {{ ucfirst($booking->status) }} | {{ $booking->created_at->format('M d, Y') }} |
| No booking requests found | ||||