@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 ?? '' }}
|
@php $statusColors = [ 'completed' => 'success', 'failed' => 'danger', 'pending' => 'warning', 'in_progress' => 'info' ]; $color = $statusColors[$quote->status] ?? 'secondary'; @endphp {{ ucfirst($quote->status) }} | {{ $quote->created_at->format('M d, Y') }} |
| No quotes found | |||
| User | Warehouse | Status | Date |
|---|---|---|---|
|
{{ substr($warehouseBooking->user->fullname ?? 'N/A', 0, 1) }}
{{ $warehouseBooking->user->fullname ?? 'N/A' }}
{{ $warehouseBooking->user->email ?? 'N/A' }}
|
{{ $warehouseBooking->warehouse->name ?? 'N/A' }} | @php $bookingColors = [ 'completed' => 'success', 'pending' => 'warning', 'confirmed' => 'primary', 'active' => 'info' ]; $color = $bookingColors[$warehouseBooking->booking_status] ?? 'danger'; @endphp {{ ucfirst($warehouseBooking->booking_status) }} | {{ $warehouseBooking->created_at->format('M d, Y') }} |
| No warehouse bookings found | |||
| User | Warehouse | Days | Amount | Status | Date |
|---|---|---|---|---|---|
|
{{ substr($ext->user->fullname ?? 'N/A', 0, 1) }}
{{ $ext->user->fullname ?? 'N/A' }}
{{ $ext->user->email ?? 'N/A' }}
|
{{ $ext->booking->warehouse->name ?? 'N/A' }} | {{ $ext->additional_days }} | ${{ number_format($ext->additional_amount, 2) }} | @php $extStatusColors = [ 'pending' => 'warning', 'escalated' => 'info', 'approved' => 'success', 'rejected' => 'danger' ]; $color = $extStatusColors[$ext->status] ?? 'secondary'; @endphp {{ ucfirst($ext->status) }} | {{ $ext->created_at->format('M d, Y') }} |
| No extension requests found | |||||