@extends('admin::layouts.layout') @section('content')
{{-- ==================== HEADER ==================== --}}

Managed Properties

Post-acquisition property management for Urban Metric clients.

{{-- ==================== STAT CARDS ==================== --}}

Total Managed

{{ $stats['total'] }}

Occupied

{{ $stats['occupied'] }}

Partially Occupied

{{ $stats['partial'] }}

Vacant

{{ $stats['vacant'] }}

Portfolio Value

{{ $stats['portfolio_label'] }}

Monthly Gross

{{ $stats['monthly_gross_label'] }}
{{-- ==================== CATEGORY TABS ==================== --}}
@foreach ($assetClasses as $ac)
@endforeach
{{-- ==================== TABLE ==================== --}}
@forelse ($properties as $cp) @php $total = max(1, (int) $cp->total_units); $occupied = (int) ($cp->occupied_units ?? 0); $pct = (int) round(($occupied / $total) * 100); $barClass = match (true) { $pct >= 100 => 'text-bg-success', $pct > 0 => 'text-bg-warning', default => 'text-bg-success', }; @endphp @empty @endforelse
Property Asset Class Occupancy Monthly Rent Status Actions

{{ optional($cp->property)->title }}

{{ optional($cp->property)->location_city }} · {{ optional($cp->client)->name ?? 'Unassigned' }}
{{ \Illuminate\Support\Str::headline(optional($cp->property)->asset_class) }}
{{ \Illuminate\Support\Str::headline(optional($cp->property)->property_sub_type ?? '—') }}
{{ $occupied }}/{{ $total }} units
{{ $cp->monthly_rent > 0 ? 'R '.number_format($cp->monthly_rent, 0).'/mo' : 'Vacant' }} {{ $cp->occupancy_label }}
No managed properties yet. Click Add Property to get started.
{{-- ===================================================================== --}} {{-- ==================== ADD PROPERTY MODAL ============================== --}} {{-- ===================================================================== --}} {{-- ===================================================================== --}} {{-- ==================== DETAIL MODAL ==================================== --}} {{-- ===================================================================== --}} {{-- ===================================================================== --}} {{-- ==================== PAYMENT MODAL =================================== --}} {{-- ===================================================================== --}} {{-- ===================================================================== --}} {{-- ==================== ADD TENANT MODAL ================================ --}} {{-- ===================================================================== --}} {{-- ===================================================================== --}} {{-- ==================== LOG REPAIR MODAL ================================ --}} {{-- ===================================================================== --}} {{-- ==================== EDIT TENANT MODAL ================================ --}} @endsection {{-- ===================================================================== --}} {{-- ==================== JAVASCRIPT ====================================== --}} {{-- ===================================================================== --}} @push('scripts') @endpush {{-- ===================================================================== --}} {{-- ==================== STYLES ========================================== --}} {{-- ===================================================================== --}} @push('styles') @endpush