@extends('user.layouts.template') @section('style') {{-- my code --}} @endsection @section('content')
Property Management Property View property

{{ $property->name ?? "" }}

{{ $property->street_address ?? "" }}

@php function formatIfNumber($value) { if ($value === null || $value === '' || !isset($value)) { return '0'; } if (is_numeric($value)) { return number_format(floor($value), 0, '.', ','); } return $value; } @endphp

Occupancy

{{ round($property->vacancy_percentage) }}% | {{ formatIfNumber($property->vacant_sf) }} sf

Vacant

{{ round($property->occupancy_percentage) }}% | {{ formatIfNumber($property->occupancy_sf) }} sf

Total Income

$ {{ formatIfNumber($property->total_annual_base_rent) ?? "0" }}

Average Rent per sf

$ {{ formatIfNumber($property->total_average_rent_per_sf) ?? "0" }}

@if (isset($property->images) && !empty($property->images))
    @foreach ($property->images as $img) {{--
  • Slide 1
  • --}}
  • Slide 1
  • @endforeach
@for ($i = 0; $i < count($property->images); $i++) @endfor
@endif
@if (count($property->owners) > 0 && !empty($property->owners[0]))

Ownership Signer

{{ !empty($property->owners[0]['ownership_company']) ? $property->owners[0]['ownership_company'] : "-" }}

@endif

Management

@if (count($property->management) > 0 && !empty($property->management[0]))

{{ $property->management[0]->management_company ?? "" }}

@else

-

@endif

Broker

@if (count($property->brokers) > 0 && !empty($property->brokers[0]))

{{ $property->brokers[0]->br_company ?? "" }}

@else

-

@endif

{{ $property->name ?? "" }}

{{ $property->description}}

Highlights

    @if (isset($property->highlights) && !empty($property->highlights)) {!! $property->highlights !!} @else

    No Highlights Found !

    @endif

Floor and Suite

@if(!empty($property->floors)) @if (!empty($property->floors) && count($property->floors) > 0) @foreach($property->floors as $floor) @endforeach @elseif (!empty($property->no_of_floors) && $property->no_of_floors > 0) @for ($i = 1; $i <= $property->no_of_floors; $i++) @endfor @endif
Floor No.of suites
{{ $floor->floor_number}} {{ $floor->suite_count}}
@if(isset($property->suites) && !empty($property->suites)) @php $suite_found = false; @endphp @foreach($property->suites as $suite) @if($suite->floor_id == $floor->id && $suite->suite_no != null) @endif @endforeach @if(!$suite_found)

No Suites Found !

@endif @else

No Suites Found !

@endif
{{ $i }} 0

No Suites Found !

@else

No Floors Found !

@endif

Location

Available Suites

@php $available_suites = 0; @endphp @if(isset($property->suites) && !empty($property->suites)) @foreach ($property->suites as $suite) @if(empty($suite->lease_status) || $suite->lease_status === 'Available') @php $available_suites++; @endphp @endif @endforeach @endif @if($available_suites === 0) @endif
Suite Name Floor No. Size Space Use
Suite {{ $suite->suite_no }} {{ $suite->floor_number }} {{ empty($suite->total_rentable_sf) ? '-' : $suite->total_rentable_sf.' sf' }} {{ empty($suite->space_type) ? '-' : $suite->space_type }}
No Suites Found

Brochures

@if (isset($property->brocheres) && count($property->brocheres) > 0) @foreach($property->brocheres as $brochure)

{{ preg_replace('/^.*\/\d+__/', '', $brochure->brochure) }}

@endforeach @else

No Brouchers Found !

@endif

Company Details

Owner Details

@if (isset($property->owners) && count($property->owners) > 0) @foreach ($property->owners as $owner)

Owner Company

{{ $owner['ownership_company'] }}

@endforeach @endif

Management Details

@if (isset($property->management) && count($property->management) > 0) @foreach ($property->management as $mng)

Management Company Name

{{ $mng->management_company }}

@endforeach @endif

Broker Details

@if (isset($property->brokers) && count($property->brokers) > 0) @foreach ($property->brokers as $brok)

Broker Name

{{ $brok->br_company }}

@endforeach @endif

Suite

Suite No.

Floor No.

Total sf

5800 sf

Tenant Name

-

Ownership Signer

-

Occupied Date

-

Vacating Date

24/12/2025

Agreement Period

-

Images

@endsection @section('script') @if (isset($property->images) && !empty($property->images)) @endif @endsection