@extends('admin.layouts.master') @section('title', 'LynX Admin - Dashboard') @section('page-title', 'Dashboard') @section('content')
| ID | User | Type | Status | Fare | Time |
|---|---|---|---|---|---|
| #{{ substr($ride->id, 0, 8) }} | {{ $ride->user?->full_name ?? 'N/A' }} | {{ $ride->ride_type }} | @php $sClass = match($ride->status) { 'completed' => 'status-active', 'requested', 'accepted', 'started' => 'status-info', 'cancelled' => 'status-danger', default => 'status-pending' }; @endphp {{ ucfirst($ride->status) }} | ${{ number_format($ride->fare, 2) }} | {{ $ride->created_at->diffForHumans() }} |
| No rides yet | |||||
No active alerts. All clear!