@extends('layouts.app')
@section('title', 'Test drives')
@section('heading', 'Test drives')
@section('content')
@forelse ($upcoming as $date => $drives)
{{ $t->scheduled_for->format('H:i') }}–{{ $t->ends_at->format('H:i') }} · {{ $t->customer->name }} {{ $t->vehicle->display_name }} {{ $t->vehicle->stock_id }} With {{ $t->assignee?->name ?? 'unassigned' }} · lead{{ \Illuminate\Support\Carbon::parse($date)->isToday() ? 'Today' : \Illuminate\Support\Carbon::parse($date)->format('l d M') }}
@foreach ($drives as $t)
Complete
Cancel or no-show
No test drives booked. Book one from a lead's page.
@endforelse @if ($recent->count())| When | Customer | Vehicle | Outcome | Record |
|---|---|---|---|---|
| {{ $t->scheduled_for->format('d M, H:i') }} | {{ $t->customer->name }} | {{ $t->vehicle->display_name }} | {{ ucfirst(str_replace('_', ' ', $t->status)) }}{{ $t->outcome_note ? ' · '.$t->outcome_note : '' }} | @if ($t->indemnity_signature_path)View signature@endif |