@props(['property', 'ownerName'])
{{-- Your image block --}}
@if ($property->images != null) @php $images = json_decode($property->images, true); @endphp {{$property->name}} @else placeholder @endif
@if ($property->is_active == '1') Connecté @else Non connecté @endif {{-- Pencil dropdown in bottom right of image --}}
Modifier {{-- Ouvrir lien du contrat --}}
{{ \Illuminate\Support\Str::limit($property->name, 35, '...') }}
@if ($property->sdb_number)
{{ $property->sdb_number }}
@endif @if ($property->bed_double_number)
{{ $property->bed_double_number }}
@endif @if ($property->bed_simple_number)
{{ $property->bed_simple_number }}
@endif

{{ \Illuminate\Support\Str::limit($property->street, 30, '...') }}

{{ $ownerName ?? 'pas trouvé' }}
@if ($property->is_available == '1') Actif @else Non actif @endif

{{ $property->uid }}

@if ($property->current_price)

{{ $property->current_price }} TND /

@endif