@php use Illuminate\Support\Facades\Auth; $configData = Helper::appClasses(); @endphp @extends('layouts/layoutMaster') @section('title', 'Properties - South Front Technologies') @section('content')
| Property Name | Address | Type | @if(in_array(auth()->user()->role, ['admin', 'manager', 'caretaker']))Owner | @endifUnits | Commission Rate | Actions |
|---|---|---|---|---|---|---|
| {{ $property->name }} | {{ $property->address }} | {{ str_replace('_', ' ', ucfirst($property->type)) }} | @if(in_array(auth()->user()->role, ['admin', 'manager', 'caretaker'])){{ $property->owner->name ?? 'N/A' }} | @endif{{ $property->units->count() }} Units | {{ $property->commission_rate }}% |
View
@if((in_array(auth()->user()->role, ['admin', 'owner']) && $property->owner_id === auth()->id()) || auth()->user()->role === 'admin')
@endif
|
| No properties found. | ||||||