@extends('backend.app') @section('title') {{ env('APP_NAME') }} || Properties Details @endsection @section('content')

Properties Owner Profile

Comprehensive details of the property owner and their assigned properties.

Back to List
{{-- User Information Card --}}
@if ($user->avatar) avatar @else
@endif
Account Details
Joined Date: {{ $user->created_at ? $user->created_at->format('d M, Y') : 'N/A' }} Referral Code: {{ $user->reffer_code ?? 'N/A' }}
Location

{{ $user->address ?? 'N/A' }}

Subscription
@if ($user->subscription) Yes @else No @endif
{{-- User Properties Card --}}

Assigned Properties

@forelse ($user->properties as $index => $property) @empty @endforelse
# Property Name Type Address Units Security Contact Additional Details Created_at Action
{{ $index + 1 }} {{ $property->property_name ?? 'N/A' }} {{ str_replace('_', ' ', $property->property_type) }} {{ $property->property_address ?? 'N/A' }} {{ $property->number_of_units ?? 0 }} {{ $property->security_contact ?? 'N/A' }} {{ Str::limit($property->additional_details ?? 'N/A', 30) }} {{ $property->created_at ? $property->created_at->format('d M, Y') : 'N/A' }}
No properties found.
{{-- Property Modals --}} @foreach ($user->properties as $property) @endforeach
{{-- Global Image Viewer Modal --}} @endsection @push('scripts') @endpush