@if(count($objectifs)>0)
Objectifs
{{--
Objectif non atteint
10000 Mad
--}} @foreach($restrictions as $restriction)
{{ $restriction->categorie_name }}
@if(($restriction->cmd_non_valide??0)==0)
Objectif atteint {{ round($restriction->equilibre_commande??0) }}%
@else
Objectif non atteint {{ round($restriction->equilibre_commande??0) }}%
@endif
{{ $restriction->equi_min??0 }}%
{{ $restriction->equi_ideal??0 }}%
{{ $restriction->equi_max??0 }}%
{{ round($restriction->equilibre_commande??0) }}%
@if(($restriction->cmd_non_valide??0)==1)
{{ $restriction->equilibre_commande>$restriction->equi_max?"Veuillez augmenter le chiffre d'affaires des autres catégories":"Veuillez augmenter le chiffre d'affaires de <".$restriction->categorie_name."> " }}
@endif
@endforeach
Chiffre d'affaires
@if(($objectifs[0]->ca_invalide??0)==0)
Objectif atteint
@else
Objectif non atteint
@endif
{{ $objectifs[0]->min_ca??0 }} DH
{{ round($objectifs[0]->ca_pourc_min??0) }}%
@if(($objectifs[0]->ca_invalide??0)==1)
Veuillez augmenter le chiffre d'affaires de {{ number_format($objectifs[0]->min_ca-$total_cmd??0, 2, ',', ' ') }} DH
@endif
Min SKU
@if(($objectifs[0]->sku_invalide??0)==0)
Objectif atteint
@else
Objectif non atteint
@endif
{{ $objectifs[0]->sku_commande??0 }}
{{ round($objectifs[0]->min_sku??0) }}
{{-- @if(($objectifs[0]->sku_invalide??0)==1)
Veuillez augmenter le nombre SKU
@endif --}}
@endif