@extends('layouts.app') @section('content')
@include('includes.propertysidebar')
@include('includes.header')
{{-- @dd($contents) --}}

{{$property->house_no}} {{$property->street}} / Utilities

{{-- @dd($departments) --}}
Utility Providers
@if(!empty($utilities) && $utilities->count()) {{-- @dd($departments) --}} @php $sn=1; @endphp @foreach($utilities as $key => $value) @php $sn++; @endphp @endforeach @else @endif
# Name Provider Phone Number Reference Action
{{$sn}} {{$value->name}} {{$value->provider}} {{$value->phone_no}} {{$value->reference}}
No utility added yet
@if(!empty($utilities) && $utilities->count()) @foreach($utilities as $key => $value)
@endforeach @endif @include('includes.footer')
@endsection