@extends('mainlayout.layout') @section('title', config('app.name') . ' | Properties') @section('topbar-search', 'enabled') @section('content')
Property management

Properties

Find registered projects and review their plots and order activity.

@if(auth()->user()->hasRole('superadmin') || auth()->user()->can('property.create')) @endif
Registered properties{{ number_format($metrics['total']) }}
Published projects{{ number_format($metrics['published']) }}
Draft projects{{ number_format($metrics['draft']) }}
Total plots{{ number_format($metrics['plots']) }}
@if(request()->filled('per_page'))@endif @if($search !== '' || $visibility !== '')Clear@endif

{{ $search !== '' || $visibility !== '' ? 'Matching properties' : 'Recent properties' }}

Newest projects first. Choose how many results to show per page.

@if($properties->total()){{ $properties->firstItem() }}–{{ $properties->lastItem() }} of {{ number_format($properties->total()) }}@else 0 properties @endif
Loading properties…
@forelse($properties as $property) @php($propertyUrl = url('/property/show/' . encrypt($property->id))) @empty @endforelse
ProjectProperty ownerLocationPlotsOrdersStatusRegisteredActions
{{ $property->name }}{{ $property->area_size ? number_format($property->area_size) . ' m²' : 'Area not available' }} @if($property->propertyowner){{ $property->propertyowner->name }}@else Owner unavailable @endif {{ $property->city ?: (optional($property->regionDetails)->name ?: 'Location unavailable') }}{{ optional($property->districtDetails)->name }} @if($property->propertyplots_count){{ number_format($property->propertyplots_count) }}@else 0 @endif {{ number_format($property->orders_count) }} {{ $property->status_label }} {{ optional($property->created_at)->format('d M Y') ?: '—' }}{{ optional($property->created_at)->format('H:i') }} @if(auth()->user()->hasRole('superadmin') || auth()->user()->can('property.edit'))Add plots@endif
No properties match the current search.
@include('partials.directory-pagination', ['paginator' => $properties])
@endsection @push('scripts') @endpush