@extends('layouts.customer') @section('title', 'Saved Watchlist – Customer Portal') @section('page_title', 'Saved Watchlist') @section('content')

Your Saved Vehicles

Keep track of price changes and auction start times for your favorite vehicles.

@if($watchlists->count() > 0)
@foreach($watchlists as $item) @php $isAuction = !empty($item->auction_vehicle_id); $car = $isAuction ? $item->auctionVehicle : $item->vehicle; @endphp @if($car)
@if(!empty($car->images) && isset($car->images[0])) Vehicle @else
@endif {{ $isAuction ? 'Live Auction' : 'Ready Stock' }}
@csrf @if($isAuction) @else @endif

{{ $car->year ?? '' }} {{ $car->brand ?? '' }} {{ $car->model ?? '' }}

{{ number_format($car->mileage ?? 0) }} km · {{ $car->engine_cc ?? 1800 }}cc · {{ $car->fuel_type ?? 'Hybrid' }}

{{ $isAuction ? 'Starting Bid' : 'Showroom Price' }} @if($isAuction) ¥{{ number_format($car->starting_price_jpy ?? 0) }} @else ৳{{ number_format($car->price_bdt ?? 0) }} @endif
@endif @endforeach
{{ $watchlists->links() }}
@else

Your watchlist is currently empty.

Browse through our showroom ready stock or upcoming Japan auction lots and click the heart icon to save vehicles.

@endif
@endsection