@extends('admin.layouts.app') @section('title', 'Manage Properties') @section('content')

All Properties

+ Add New Property
@if($properties->count() > 0) @foreach($properties as $property) @endforeach
Image Title Location Location ID Price Status Shares Actions
@if($property->main_image) {{ $property->title }} @else
No Image
@endif
{{ $property->title }}
{{ $property->property_type }}
{{ $property->location->name ?? $property->city }} #{{ $property->location_id ?? '-' }} {{ $property->formatted_price }} @if($property->status == 'available') Available @elseif($property->status == 'sold_out') Sold Out @else Coming Soon @endif {{ $property->ownership ?? 'N/A' }}
Edit
@csrf @method('DELETE')
{{ $properties->links() }}
@else

No properties found. Add your first property

@endif
@endsection