@extends('layout.app')
@section('content')
@if($stats['refundsDue'] > 0)
{{ $stats['refundsDue'] }} cancelled booking(s) have a refund due.
Review
@endif
@if($stats['pendingOwners'] > 0)
{{ $stats['pendingOwners'] }} property owner(s) awaiting approval.
Review
@endif
@foreach([
'Property Owners' => $stats['owners'],
'Properties' => $stats['properties'],
'Active Properties' => $stats['activeProperties'],
'Room Types' => $stats['roomTypes'],
'Rooms' => $stats['rooms'],
] as $label => $value)
{{ $label }}
{{ $value }}
@endforeach
Latest Properties
All Properties
| Property |
Owner |
City |
Registered |
Status |
@foreach($latestProperties as $property)
| {{ $property->property_name }} |
{{ $property->propertyOwner?->name }} |
{{ $property->city?->city_name }} |
{{ $property->created_at?->format('Y-m-d') }} |
@if($property->is_active)
Active
@else
Inactive
@endif
|
@endforeach
@stop