Properties

@can('create', App\Models\Property::class) Add property @endcan
@foreach (['active' => 'Active', 'inactive' => 'Inactive', 'all' => 'All'] as $value => $label) @endforeach
@forelse ($properties as $property)
{{ $property->name }}
@if ($property->address)
{{ $property->address }}
@endif
{{ trans_choice(':count room|:count rooms', $property->rooms_count) }}
@empty
@if (auth()->user()->isOwner()) No properties yet. Add your first one to start adding rooms. @else You have not been assigned to any properties yet. Ask an owner to assign you. @endif
@endforelse