@if($epcDetails['data'] == null)
Current Energy Rating
@if($epcDetails['data']['current-energy-rating']) {!! $epcDetails['data']['current-energy-rating'] !!} @else Not available @endif
Potential Energy Rating
@if($epcDetails['data']['potential-energy-rating']) {!! $epcDetails['data']['potential-energy-rating'] !!} @else Not available @endif
Total Floor Area
@if($epcDetails['data']['total-floor-area']) {!! $epcDetails['data']['total-floor-area'] !!} @else Not available @endif
Current Energy Efficiency
@if($epcDetails['data']['current-energy-efficiency']) {!! $epcDetails['data']['current-energy-efficiency'] !!} @else Not available @endif
Potential Energy Efficiency
@if($epcDetails['data']['potential-energy-efficiency']) {!! $epcDetails['data']['potential-energy-efficiency'] !!} @else Not available @endif
Number Habitable Rooms
@if($epcDetails['data']['number-habitable-rooms']) {!! $epcDetails['data']['number-habitable-rooms'] !!} @else Not available @endif
Local Authority
@if($epcDetails['data']['local-authority']) {!! $epcDetails['data']['local-authority'] !!} @else Not available @endif
Windows Description
@if($epcDetails['data']['windows-description']) {!! $epcDetails['data']['windows-description'] !!} @else Not available @endif
Inspection Date
@if($epcDetails['data']['inspection-date']) {!! $epcDetails['data']['inspection-date'] !!} @else Not available @endif
Roof Description
@if($epcDetails['data']['roof-description']) {!! $epcDetails['data']['roof-description'] !!} @else Not available @endif
Floor Height
@if($epcDetails['data']['floor-height']) {!! $epcDetails['data']['floor-height'] !!} @else Not available @endif
Tenure
@if($epcDetails['data']['tenure']) {!! $epcDetails['data']['tenure'] !!} @else Not available @endif
{!! $epcDetails['data']['address'] !!},
{!! $epcDetails['data']['posttown'] !!},
{!! $epcDetails['data']['postcode'] !!}
Energy Rating
Valid Until
{!! \Carbon\Carbon::parse($epcDetails['data']['inspection-date'])->addYears(10)->format('d M Y') !!}
Potential Rating
{!! $epcDetails['data']['potential-energy-efficiency'] !!} | {!! $epcDetails['data']['potential-energy-rating'] !!}