@php($page = 'properties') {{env('APP_NAME')}} | Properties
@include("components.navbar")
@include("components.sidebar")
{{-- stats card --}}

All Properties

{{number_format($stats->allCount)}}

Available

{{number_format($stats->activeCount)}}

Sold

{{number_format($stats->soldCount)}}

Reserved

{{number_format($stats->reservedCount)}}

{{-- type stats card --}}
{{-- end stats card --}} {{-- table --}}

All Properties

@php($count = 1) @foreach ($properties as $property) @php($count++) @endforeach
S/N Title Unit Type Size Site Price Status Action
{{ $count }} {{ $property->title }} {{ $property->unit }} {{ $property->type }} {{ $property->size }} {{ substr($property->site->title ?? "N/A", 0, 20) }} {{ formatPrice($property->price) }} {{ $property->status }}
@include("components.footer")