File: D:/HostingSpaces/SBogers10/immoginis.komma.pro/app/views/layouts/partials/specsList.blade.php
<div class="list1">
{{-- Address ! Always visible --}}
<p>
<span>@lang('translations.adres')</span>
@if($property->decoded_info->PublishAddress)
{{$property->decoded_info->Street}} {{$property->decoded_info->HouseNumber}}
{{!empty($property->decoded_info->BoxNr)? 'bus '.$property->decoded_info->BoxNr:''}}
@else
@lang('translations.request')
@endif
</p>
{{-- City ! Always visible --}}
<p class="capt"><span>@lang('translations.location')</span>{{$property->city}}</p>
{{-- Surface total / Perceeloppervlakte --}}
@if(isset($property->decoded_info->PreparedSurfaceGround2) && $property->decoded_info->PreparedSurfaceGround2 != 0)
<p><span>@lang('translations.po')</span>{{$property->decoded_info->PreparedSurfaceGround2}}</p>
@endif
{{-- Surface Constructed / Bebouwde oppervlakte --}}
@if(isset($property->decoded_info->SurfaceTotal) && $property->decoded_info->SurfaceTotal != 0 && $property->filter_type !== 'commercial')
<p><span>@lang('translations.bo')</span><em>{{$property->decoded_info->SurfaceTotal}} m<sup>2</sup></em></p>
@endif
@if(isset($property->decoded_info->SurfaceConstructed) && $property->decoded_info->SurfaceConstructed != 0 && $property->filter_type === 'commercial')
<p><span>@lang('translations.bo')</span><em>{{$property->decoded_info->SurfaceConstructed}} m<sup>2</sup></em></p>
@endif
{{-- Surface Terrace / Oppervlakte terras --}}
@if(isset($property->decoded_info->SurfaceTerrace) && $property->decoded_info->SurfaceTerrace != 0)
<p><span>@lang('translations.surfaceTerrace')</span><em>{{$property->decoded_info->SurfaceTerrace}} m<sup>2</sup></em></p>
@endif
{{-- Surface Garden / Oppervlakte tuin --}}
@if(isset($property->decoded_info->SurfaceGarden) && $property->decoded_info->SurfaceGarden != 0)
<p><span>@lang('translations.surfaceGarden')</span><em>{{$property->decoded_info->SurfaceGarden}} m<sup>2</sup></em></p>
@endif
{{-- @if($property->filter_type == 'apartment')--}}
{{-- <p><span>@lang('translations.bo')</span><em>{{$property->decoded_info->SurfaceTotal}} m<sup>2</sup></em></p>--}}
{{-- @elseif($property->filter_type == 'commercial')--}}
{{-- <p><span>@lang('translations.po')</span>{{$property->decoded_info->PreparedSurfaceGround2}}</p>--}}
{{-- <p><span>@lang('translations.bo')</span><em>{{$property->decoded_info->SurfaceConstructed}} m<sup>2</sup></em></p>--}}
{{-- @else--}}
{{-- <p><span>@lang('translations.po')</span>{{$property->decoded_info->PreparedSurfaceGround2}}</p>--}}
{{-- <p><span>@lang('translations.bo')</span><em>{{$property->decoded_info->SurfaceTotal}} m<sup>2</sup></em></p>--}}
{{-- @endif--}}
{{-- Contruction year / Bouwjaar --}}
@if(isset($property->decoded_info->ConstructionYear) && $property->decoded_info->ConstructionYear != 0)
<p><span>@lang('translations.buildyear')</span>{{$property->decoded_info->ConstructionYear}}</p>
@endif
{{-- Construction type / Bebouwing --}}
<p><span>@lang('translations.constructionName')</span> {{$property->decoded_info->ConstructionName}}</p>
{{-- Legal codes (Informatieplicht?) ! Always visible --}}
@if(isset($property->decoded_info->PreparedlegalCodes))
<p class="codes-legal">
<span>{{$property->decoded_info->PreparedlegalCodes}}</span>
<i class="info-box">
<span class="code-block">
@foreach($property->decoded_info->LegalCodes as $legalCode)
<span class="placeholder">
<em>{{$legalCode}}</em> <b class="description">@lang('property.abbreviation.'.$legalCode)</b>
</span>
@endforeach
</span>
</i>
</p>
@endif
</div>
<div class="list2">
{{-- Price ! Always visible --}}
<p><span>@lang('translations.price')</span>
@if($property->decoded_info->PublishPrice && !in_array($property->status, ['2', '3', '4']))
€ {{$property->format_price}}
@elseif($property->status == 2)
@lang('translations.inOption')
@elseif($property->status == 3)
@lang('translations.sold')
@elseif($property->status == 4)
@lang('translations.rented')
@else
@lang('translations.request')
@endif
</p>
{{-- Cadastral Income / Kadastraal inkomen --}}
@if(isset($property->decoded_info->CadastrallIncomeNonIndexed)&& $property->decoded_info->CadastrallIncomeNonIndexed != '0')
<p>
<span>@lang('translations.kadastral')</span>
{{$property->decoded_info->CadastrallIncomeNonIndexed}}
{{-- @else--}}
{{-- @lang('translations.notAvailable')--}}
</p>
@endif
{{-- Energy Performance / EPC ! Always visible--}}
<p><span>@lang('translations.epc')</span>
@if(isset($property->decoded_info->EnergyPerformance))
{{$property->decoded_info->EnergyPerformance}}
@else
@lang('translations.notAvailable')
@endif
</p>
{{-- Bedrooms / Slaapkamers --}}
@if(isset($property->decoded_info->NumberOfBedRooms) && $property->decoded_info->NumberOfBedRooms != 0)
<p><span>@lang('translations.sleepRooms')</span>{{$property->decoded_info->NumberOfBedRooms}}</p>
@endif
{{-- Garage/parkeerplaatsen ! Always visible --}}
@if(isset($property->decoded_info->NumberOfGarages))
<p><span>@lang('translations.garage')</span>
{{ ($property->decoded_info->NumberOfGarages + $property->decoded_info->NumberOfParkings + $property->decoded_info->NumberOfExternalParkings) }}
{{-- @if($property->decoded_info->NumberOfGarages == 0 && $property->decoded_info->NumberOfParkings != 0)--}}
{{-- {{$property->decoded_info->NumberOfParkings}}--}}
{{-- @elseif($property->decoded_info->NumberOfGarages == 0 && $property->decoded_info->NumberOfExternalParkings != 0)--}}
{{-- {{$property->decoded_info->NumberOfExternalParkings}}--}}
{{-- @else--}}
{{-- {{$property->decoded_info->NumberOfGarages}}--}}
{{-- @endif--}}
</p>
@endif
</div>