@extends('layout.app') @section('content')

All Properties

@foreach($properties as $property) @endforeach
Property Owner City District Rooms No-refund window Status
{{ $property->property_name }} {{ $property->propertyOwner?->name }}
{{ $property->propertyOwner?->email }}
{{ $property->city?->city_name }} {{ $property->city?->district?->district_name }} {{ (int) ($roomCounts[$property->id] ?? 0) }} {{ $property->effectiveCancellationDays() }} days @if($property->is_active) Active @else Inactive@include('partials.property-disabled-by') @endif Details View rates View inventory
@csrf
@stop