@extends('layouts.app') @section('title', 'Modifier mon bien immobilier - Mady Market') @push('styles') @endpush @section('content')
@csrf @method('PUT')

Modifier votre bien

@error('titre') {{ $message }} @enderror
@php $rootCatId = null; $curr = $annonce->category; while($curr && $curr->parent_id) { $curr = $curr->parent; } $rootCatId = $curr ? $curr->id : null; $icons = [ 'E-commerce' => '', 'Services' => '', 'Immobilier' => '', 'Véhicules' => '' ]; @endphp @foreach($categories->where('parent_id', null) as $categorie)
@if($categorie->icone) {!! $categorie->icone !!} @else {!! $icons[$categorie->nom] ?? '...' !!} @endif {{ $categorie->nom }}
@endforeach

Transaction immobilière

Caractéristiques du bien

@if($annonce->photos->count() > 0)
@foreach($annonce->photos as $photo)
Photo bien
@endforeach
@endif

Formats JPG, PNG, WEBP. Max 5 Mo par photo.

🚀 Booster votre annonce

Mettez votre annonce en avant pour vendre d'autant plus vite.

Options de visibilité

@php $activeServices = \App\Models\AnnonceCreditService::where('annonce_id', $annonce->id) ->actif() ->pluck('service') ->toArray(); @endphp @foreach($creditServices as $service) @if($service->cle == 'urgent') @continue @endif @php $isAlreadyActive = in_array($service->cle, $activeServices); @endphp @endforeach
Statut de publication
NOUVEAU Total à payer : 0
@endsection @push('scripts') @endpush