@if(isset($boutique_listes) && count($boutique_listes)>0) @foreach($boutique_listes as $boutique) @php $helpers=new \App\Http\Controllers\HelperController(); $metier=""; if(isset($boutique->metier) && $boutique->metier!=null){ if(isset($boutique->metier->intitule_metier)){ $metier=$boutique->metier->intitule_metier; } } @endphp
@if($boutique->meta!=null) @php $metas=$boutique->meta; @endphp @if($metas->logo_boutique!=null) {{$boutique->nom_boutique}} @else {{$boutique->nom_boutique}} @endif @else {{$boutique->nom_boutique}} @endif

{{\Illuminate\Support\Str::limit(strtoupper(str_replace('_',' ',$boutique->nom_boutique)),19)}}
{{$metier}}
{{$boutique->nom_boutique}}

{{\Illuminate\Support\Str::limit($boutique->description,50)}} suite

visiteurs: {{$boutique->most_visit!=null ? count($boutique->most_visit) : 0}}
@php if($boutique->paiement_echelonner) $date_echelonner = \Carbon\Carbon::parse($boutique->paiement_echelonner->expired_at); @endphp @if(isset($boutique->paiement_echelonner) && $date_echelonner && !$date_echelonner->isPast()) Paiement échellonner   @endif @php if($boutique->mibSubscribe) $date_mib = \Carbon\Carbon::parse($boutique->mibSubscribe->expired_at); @endphp @if(isset($boutique->mibSubscribe) && $date_mib && !$date_mib->isPast()) Panier MIB @endif
@if($boutique->installer!=false) @php $maboutique= str_replace(' ','_',$boutique->nom_boutique); @endphp @endif
@endforeach @else
Aucune boutique disponible pour le moment !
@endif