@extends("layouts.dashboard") @section("wrapper")
@include("layouts.second-header")
@lang("Retour")

@lang("Modifier") {{ $title ?? "Titre" }}

{{--
{{ $count }} Enregistrements
--}}
@include("layouts.alert")
@csrf @method("put")
@lang("Information generale")
@error("libelle")
{{$message}}
@enderror
@error("libelle")
{{$message}}
@enderror
@if($isannonceur==null)
@endif
@error("date_parution")
{{$message}}
@enderror
@lang("Images")
@if($petiteannonce->imageFichier !=null) @else preview image @endif @error("fichier_id")
{{$message}}
@enderror
@if( $img!=0) @if($petiteannonce->images_json!=null) @foreach ($images as $k=>$image)
preview image
@endforeach @endif @endif
@error("description")
{{$message}}
@enderror
@error("tarif")
{{$message}}
@enderror
@lang("Informations complementaires")
@if($petiteannonce->infos_json!=null) @foreach ($infos_json as $info_json)
@error("infos_json")
{{$message}}
@enderror
@error("infos_json")
{{$message}}
@enderror
@endforeach @endif
@lang("Autres precision")
@if($petiteannonce->precisions_json!=null) @foreach ($precisions_json as $k=> $info_json)
@error("infos_json")
{{$message}}
@enderror
@error("infos_json")
{{$message}}
@enderror
@endforeach @endif
@lang("Annuler") @if(Auth::user()->annonceur_id==null) @if( $petiteannonce->statutannonce_id==1) @lang("Publier") @lang("Supprimer") @endif @endif
@endsection