@extends('admin.app') {{-- Remplace "admin.layouts.app" par le chemin exact de ton fichier de layout --}} @section('content')
| Commande No | Clients | Scooter | Montant | Date de départ | Date de retour | Status |
|---|---|---|---|---|---|---|
| {{ $reservation->reference }} | {{ $reservation->client->nom ?? $reservation->tel }} | {{ $reservation->scooter->caracteristiques ?? 'N/A' }} |
{{ $reservation->montant }} € |
{{ \Carbon\Carbon::parse($reservation->start)->format('d/m/Y') }} à {{ substr($reservation->start_time, 0, 5) }} | {{ \Carbon\Carbon::parse($reservation->end)->format('d/m/Y') }} à {{ substr($reservation->end_time,0,5) }} |
{{ ucfirst($reservation->etat_reservation) }}
|