@extends('dashboard.admin.layout') @section('title', 'Inventory Cars') @section('page_subtitle', 'Inventory table first, with add-car flow moved into a modal.') @section('content')
Inventory List

Review all vehicles first, then create new inventory records from the action button.

@forelse($cars as $car) @if(!$car->trashed()) @endif @empty @endforelse
IDPreviewNamePriceAvailableStatusActions
{{ $car->id }} @if($car->hero_image) {{ $car->name }} @else No image @endif {{ $car->name }} ({{ $car->year }}) ${{ number_format($car->price, 2) }} {{ $car->is_available ? 'Yes' : 'No' }} {{ $car->trashed() ? 'Deleted' : 'Active' }} @if(!$car->trashed())
@csrf
@else
@csrf
@endif
No inventory cars yet.
{{ $cars->links() }}
@endsection