File: D:/HostingSpaces/SBogers10/immoginis.komma.pro/app/views/layouts/partials/documentDetail.blade.php
@if(isset($property->decoded_info->PreparedDocuments))
<div class="documents">
@if(sizeof($property->decoded_info->PreparedDocuments) != 0)
<h2>@lang('translations.documentsHeader')</h2>
@endif
@foreach($property->decoded_info->PreparedDocuments as $document)
<p><a class="document" data-extension="{{ $document->extention }}" href="/download/{{Str::slug($property->decoded_info->Street.' '.$property->decoded_info->HouseNumber.' '.$property->city.' '.$document->fileName)}}.{{$document->extention}}?location={{base64_encode($document->filePath)}}">
<span></span> {{$document->fileName}}
</a></p>
@endforeach
</div>
@endif