{{-- resources/views/admin/properties/index.blade.php --}} @extends('admin.layouts.app') @section('title', 'Properties') @section('page_title', 'Properties') @section('breadcrumb', 'All registered properties on the platform') @section('content') {{-- Filter Bar --}}
{{-- Search --}}
{{-- Verification status --}} {{-- Subscription status --}} @if(request()->hasAny(['search', 'status', 'subscription'])) Clear @endif
{{-- Table --}}
Properties {{ $properties->total() }} total
@if($properties->isEmpty())

No properties found

Try adjusting your filters

@else
@foreach($properties as $property) @php $owner = $property->users->first(); @endphp @endforeach
Property Owner Type Plan Verification Subscription Registered
{{ $property->name }}
{{ $property->city }}@if($property->country), {{ $property->country }}@endif
{{ $owner?->name ?? '—' }}
{{ $owner?->email }}
{{ ucfirst(str_replace('_', ' ', $property->type)) }} @if($property->plan_slug) {{ $property->plan_slug }} @else @endif {{ str_replace('_', ' ', $property->verification_status) }} {{ $property->subscription_status }} {{ $property->created_at->format('d M Y') }} View →
@if($properties->hasPages())
{{ $properties->links() }}
@endif @endif
@endsection