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

Security Contact Details

Comprehensive information about this security contact.

Back to List
{{-- Security Contact Info Card --}}

Contact Information

Basic Info
Phone: {{ $securityContact->phone ?? 'N/A' }} Category: {{ $securityContact->category->name ?? 'N/A' }} (ID: #{{ $securityContact->category_id }})
Timestamps
Created At: {{ $securityContact->created_at ? $securityContact->created_at->format('d M, Y H:i A') : 'N/A' }}
Description
{!! nl2br(e($securityContact->description)) !!}
{{-- Property Details Card --}}

Property Details

@if ($securityContact->property)
Property Name: {{ $securityContact->property->property_name ?? 'N/A' }} Address: {{ $securityContact->property->property_address ?? 'N/A' }}
Property ID: #{{ $securityContact->property_id }} Type: {{ ucfirst(str_replace('_', ' ', $securityContact->property->property_type ?? 'N/A')) }}
@else

No property information available.

@endif
{{-- Assigned Creator/User Card --}}

Assigned User

@if ($securityContact->user)
@if ($securityContact->user->avatar) avatar @else
@endif
User ID: #{{ $securityContact->user_id }}

{{ $securityContact->user->name ?? 'N/A' }}

{{ $securityContact->user->email ?? 'N/A' }} {{ $securityContact->user->phone ?? 'N/A' }}
@else

No user information available.

@endif
@endsection