@extends('layouts.app') @section('title', 'Wishlists') @section('heading', 'Customer wishlists') @section('content')

When a vehicle reaches stock (or its price drops) and matches a wishlist, the salesperson is alerted with a WhatsApp message ready to send. Each customer is alerted once per vehicle.

@forelse ($wishlists as $w) @empty @endforelse
Active wishlists
CustomerLooking forMatchesActions
{{ $w->customer->name }}{{ $w->customer->display_phone }} {{ $w->summary() }}@if ($w->expires_at)until {{ $w->expires_at->format('d M Y') }}@endif @forelse ($w->matches as $m)
@csrf {{ $m->vehicle->display_name }} {{ $m->vehicle->stock_id }}
@emptyNone yet@endforelse
@csrf @method('DELETE')
No active wishlists.
{{ $wishlists->links() }}
@csrf

New wishlist

@endsection