@extends('layouts.app') @section('title', 'Add Property') @section('page-title', 'Add Property') @section('content')
@csrf {{-- ── Basic Information ──────────────────────────────────── --}}
Basic Information
@error('title')
{{ $message }}
@enderror
@error('listing_purpose')
{{ $message }}
@enderror
@error('type')
{{ $message }}
@enderror
@error('location')
{{ $message }}
@enderror
@error('city')
{{ $message }}
@enderror
@error('latitude')
{{ $message }}
@enderror
@error('longitude')
{{ $message }}
@enderror
{{-- ── Map Pin Widget ──────────────────────────────────────── --}} @include('property.partials._map_widget', [ 'initialLat' => old('latitude'), 'initialLng' => old('longitude'), ]) {{-- ── Type-specific Fields ────────────────────────────────── --}} {{-- ── Pricing ─────────────────────────────────────────────── --}}
Size & Pricing
@error('area')
{{ $message }}
@enderror
@error('area_unit')
{{ $message }}
@enderror
@error('price')
{{ $message }}
@enderror
{{-- ── Owner & Sourcing ─────────────────────────────────────── --}}
Owner & Sourcing
@error('owner_id')
{{ $message }}
@enderror
@error('sourcing_channel_id')
{{ $message }}
@enderror
@if(auth()->user()->isAdmin())
@endif
{{-- ── Amenity Tags ─────────────────────────────────────────── --}}
Amenity Tags
@foreach($tags as $tag)
id, old('tag_ids', [])) ? 'checked' : '' }}>
@endforeach
{{-- ── Media note ───────────────────────────────────────────── --}}
Images & Documents can be uploaded from the property detail page after saving.
Cancel
@include('property.partials._owner_modal')
{{-- Duplicate Detection Side Panel --}}
{{-- Idle placeholder — always visible until first check triggers --}}
Duplicate check will appear here once you fill in property type, city, or owner.
{{-- Active card: loading + results + empty (hidden until first check) --}}
Possible Duplicates 0
{{-- Loading state --}}
Checking for duplicates…
{{-- Match list --}}
{{-- Empty state --}}
No duplicates found.
@endsection @push('scripts') @endpush