@extends('layouts.app') @section('content')

{{ $propService->ServiceName }}

Service ID: {{ $propService->IDService }}

Edit Service
@csrf @method('DELETE')

Service Details

Comprehensive information about this service

Service Name
{{ $propService->ServiceName }}
Company
{{ $propService->company->CompanyName ?? 'N/A' }}
Billing Cycle
{{ $propService->NoMonthPerYear == 12 ? 'Monthly' : 'Every ' . $propService->NoMonthPerYear . ' months' }}
@if($propService->property)
Associated Property
{{ $propService->property->PropName ?? 'N/A' }}
@if($propService->property->PropCode ?? false)
{{ $propService->property->PropCode }}
@endif @if($propService->property->Location ?? false)
{{ $propService->property->Location }}
@endif
@endif
Price
Ksh {{ number_format($propService->Price, 2) }}
Status
Active
Created
{{ $propService->created_at ? $propService->created_at->format('M d, Y') : 'N/A' }}
@if($propService->Description)

Description

{{ $propService->Description }}

@endif
@if($propService->property && ($propService->property->Location || $propService->property->PropCode))

Property Details

Information about the associated property

@if($propService->property->Location ?? false)
Location
{{ $propService->property->Location }}
@endif @if($propService->property->PropCode ?? false)
Property Code
{{ $propService->property->PropCode }}
@endif @if($propService->property->PropType ?? false)
Property Type
{{ $propService->property->PropType }}
@endif @if($propService->property->NoOfUnits ?? false)
Number of Units
{{ $propService->property->NoOfUnits }} units
@endif
@if($propService->property->Description ?? false)

Property Description

{{ $propService->property->Description }}

@endif
@endif
@endsection