LISTE DES PRODUITS

Date: {{date_now()->format('d-m-Y H:i:s')}}
@foreach ($cols as $k => $col) @endforeach @foreach ($products as $prod) @if(count($prod) == 1) @else @foreach ($prod as $k => $p) @endforeach @endif @endforeach
{{$col['title']}}

{!! $prod[0] !!}

@if(is_numeric($p)) @if(str_contains(strtolower($cols[$k]['title']), 'prix') || str_contains(strtolower($cols[$k]['title']), 'cmup')) {!! number_format($p, 2, ',', ' ') !!}Ar @elseif(str_contains(strtolower($cols[$k]['title']), 'stock')) {!! number_format($p, 2, ',', ' ') !!} @endif @else {!! $p !!} @endif