@include('Mail.header_boutique') @php $piece=$msg['piece']; $articles=$msg['articles']; $boutique=$msg['boutique']; $message=$msg['message']; @endphp

{{$message}}

@foreach($articles as $article) @php $boutique_=$article->boutique_slug; $helpers=new \App\Http\Controllers\HelperController(); $prix=$helpers->get_article_price_by_boutique($article->slug,$boutique_); $name=$helpers->get_meta_article('name',$article->slug,$boutique_); $price=$helpers->get_meta_article('price',$article->slug,$boutique_); if($price['statut']==false){ $price['value']=$article->price; } if($name['statut']==false){ $name=$article->name; }else{ $name=$name['value']; } $stock=$helpers->get_meta_article('stock',$article->slug,$boutique_); if($stock['statut']==false){ $stock=$article->quantity; }else{ $stock=$stock['value']; } $image= $helpers->get_simple_image($article->slug,$boutique_); @endphp
@php $maboutique= str_replace(' ','_',$boutique->nom_boutique); @endphp
{{$prix}}
Stock disponible : {{$stock}}
@endforeach
@for($i=0;$ipieces jointes {{$i}}     @endfor
@include('Mail.footer_boutique2')