@extends('layouts.dashboard') @section('dashboard-content')

Index Property

Properties on boundary location of the state. Capture property number, type, size (sqm and plot), owner, and upload documents (CofO, RofO, survey plan, application form, land agreement) for indexing.

@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
@endif

Upload documents for a property

Select a property and upload CofO, RofO, survey plan, application form, or land agreement. You can also open a property below and upload from its detail page.

@csrf
@if($propertiesForUpload->isEmpty())

Add a property below first, then you can upload documents here or on the property page.

@endif

Add property

@csrf

Search properties

Clear

Results ({{ $properties->count() }})

@if($properties->isEmpty())

No properties found. Add a property above or adjust search.

@else
@php $partyTypesList = $partyTypes ?? \App\Models\PropertyIndex::partyTypes(); @endphp @foreach($properties as $p) @endforeach
Property # Type Party Size (sqm) Plot Owner Boundary / State Docs Actions
{{ $p->property_number }} {{ $p->property_type }} {{ $p->party_type && isset($partyTypesList[$p->party_type]) ? $partyTypesList[$p->party_type] : '—' }} {{ $p->size_sqm !== null ? number_format($p->size_sqm) : '—' }} {{ $p->plot ?: '—' }} {{ Str::limit($p->owner, 30) }} @if($p->boundary) {{ $p->boundary->boundary_number }} @else {{ $p->state ?: '—' }} @endif {{ $p->documents_count ?? 0 }} View / Upload docs
@endif
@endsection