@extends('layouts.app') @section('title', 'Online reservations') @section('heading', 'Online reservations') @section('content')
@forelse ($reservations as $r)@empty@endforelse
Reservations
WhenCustomerCarDepositStatus
{{ $r->created_at->format('d M, H:i') }}{{ $r->name }}{{ $r->phone }}{{ $r->vehicle->display_name }}{{ $r->vehicle->stock_id }}{{ number_format($r->amount) }}{{ $r->mpesa_receipt }} {{ ucfirst(str_replace('_', ' ', $r->status)) }}@if ($r->hold_until && $r->status === 'paid')held until {{ $r->hold_until->format('d M H:i') }}@endif @if ($r->review_note){{ $r->review_note }}@endif @if ($r->deal){{ $r->deal->deal_no }}@endif @if (in_array($r->status, ['paid', 'expired', 'needs_refund']))
@csrf
@endif
None yet.
{{ $reservations->links() }}
@endsection