@include('Partials.sidebar')
@include('Partials.header')

Plot Wishlists @if(isset($currentTenant)) {{ $currentTenant->name ?? 'Tenant' }} @endif

Users who saved Unit {{ $plot->plot_number ?? 'N/A' }} @if(isset($currentTenant)) • Currency: {{ $currency ?? '₹' }} @endif

  1. ›
  2. Wishlists
  3. ›
  4. Plot Details
{{-- Plot Info Card --}}

Unit {{ $plot->plot_number ?? 'N/A' }}

{{ $plot->plot_type ?? 'N/A' }}
@if($plot->block) Block {{ $plot->block }} @endif @if($plot->section) • Section {{ $plot->section }} @endif
@if($plot->status) {{ $plot->status }} @endif
{{ $wishlists->total() ?? 0 }}
Total Saves
@if($plot->offer_price)
{{ $currency ?? '₹' }}{{ number_format((float)$plot->offer_price, 0) }}
Offer Price
@endif
{{-- Wishlists Table --}}
Users Who Saved This Unit ({{ $wishlists->total() ?? 0 }})
Back to Dashboard
@forelse($wishlists ?? [] as $index => $w) @php $tenantParam = $tenantSlug ?? request()->route('tenant'); @endphp @empty @endforelse
# User Phone Email Saved Price Saved On Action
{{ $wishlists->firstItem() + $index }}
{{ $w->name }}
@if($w->user_id) View all @endif
{{ $w->phone }} {{ $w->user?->email ?? 'N/A' }} @if($w->price) {{ $currency ?? '₹' }}{{ number_format((float)$w->price, 0) }} @else — @endif {{ $w->created_at->format('d M Y') }}
{{ $w->created_at->format('H:i') }}
{{-- WhatsApp --}} @if($w->phone) @endif {{-- Create lead --}} {{-- Delete --}}
@csrf @method('DELETE')

No users have saved this unit yet.
@if(isset($wishlists) && ($wishlists->hasPages() || $wishlists->total() > 0)) @endif
{{-- Quick Stats --}}
{{ $wishlists->total() ?? 0 }}
Total Saves
{{ $wishlists->where('plot.status', 'Available')->count() ?? 0 }}
Available Saves
{{ $wishlists->where('plot.status', 'Booked')->count() ?? 0 }}
Booked Saves
{{ $wishlists->unique('user_id')->count() ?? 0 }}
Unique Users
@include('Partials.footer') @push('styles') @endpush