@php use App\Models\commune; @endphp @php $commune_par_default=commune::find($commune_id); if($commune_par_default){ $communes=commune::where('commune_code_postal',$commune_par_default->commune_code_postal)->get(); } @endphp