Proposition de Commande Proposition de commande
@if(isset($salesData['data'][0]['months']) && is_array($salesData['data'][0]['months'])) @foreach ($salesData['data'][0]['months'] as $monthKey => $monthData) @foreach ($monthData as $monthName => $value) @endforeach @endforeach @endif @foreach ($salesData['data'] as $data) @if(isset($data['months']) && is_array($data['months'])) @foreach ($data['months'] as $month) @foreach ($month as $key => $value) @if($value == 0) @endif @if($value != 0) @endif @endforeach @endforeach @endif @endforeach
Action Code PCT Art Id Désignation Stock Actuel Vte Tot. 12M Vte Moy. 12M{{ $monthName }}
@if(Route::currentRouteName() === 'provider.order_proposal') @if($user->hasPermissionTo(3100002)) @endif @elseif(Route::currentRouteName() === 'provider.order_proposal_para') @if($user->hasPermissionTo(3200002)) @endif @endif {{ $data['CODE_PCT'] }} {{ $data['art'] }} {{ $data['id'] }} {{ $data['libart'] }} {{ $data['stock'] }} {{ $data['vente_total'] }} {{ $data['average_vente_total'] }}{{ $value }}
@if(Route::currentRouteName() === 'provider.order_proposal') @if($user->hasPermissionTo(3100002))
Propositions de Commande
Code PCT Art Désignation Quantité proposée Promo Action
@endif @elseif(Route::currentRouteName() === 'provider.order_proposal_para') @if($user->hasPermissionTo(3200002))
Propositions de Commande Para
Code PCT Art Désignation Quantité proposée Promo Action
@endif @endif