@foreach($groupes as $groupe) @foreach($groupe->users as $user ) @if(($user->nb_ventes > 0 || $user->active == 1) && !$user->hasRole('admin')) @for ($i = 0; $i < 5; $i++) @endfor @endif @endforeach @if($groupe->users && count($groupe->users) > 0) @for ($i = 0; $i < 5; $i++) @endfor @endif @endforeach @if(isset($totauxSecteur) && (!$isTelepro)) @for ($i = 0; $i < 5; $i++) @endfor @endif @if(isset($totauxGlobaux) && ($isAdmin)) @for ($i = 0; $i < 5; $i++) @endfor @endif
Commercial CA
Objectif
CA
Realise
RDV
Objectif
RDV
Total
Argus
Total
S1 S2 S3 S4 S5 Déperdition RDV 48H Transformation Panier
Moyen
Marge
is_fin_periode_essai) style="background-color: rgba(255, 184, 106, 0.5)" @endif > {{ $user->display_name }}
({{ \Carbon\Carbon::parse($user->date_entree)->format('d/m/Y') }})
is_fin_periode_essai) style="background-color: rgba(255, 184, 106, 0.5)" @endif > {{ number_format($user->objectif_ca, 0, ',', ' ') }} € is_fin_periode_essai) style="background-color: rgba(255, 184, 106, 0.5)" @endif > {{ number_format($user->ca_realise, 0, ',', ' ') }} € is_fin_periode_essai) style="background-color: rgba(255, 184, 106, 0.5)" @endif > {{ $user->objectif_rdv }} is_fin_periode_essai) style="background-color: rgba(255, 184, 106, 0.5)" @endif > {{ $user->rdv_total }} is_fin_periode_essai) style="background-color: rgba(255, 184, 106, 0.5)" @endif > {{ $user->argus_total }} is_fin_periode_essai) style="background-color: rgba(255, 184, 106, 0.5)" @endif > {{ isset($user->ca_par_semaine[$i]) ? number_format($user->ca_par_semaine[$i], 0, ',', ' ') . ' ' : '-' }} is_fin_periode_essai) style="background-color: rgba(255, 184, 106, 0.5)" @endif @if(!$user->is_fin_periode_essai && (($user->deperdition ?? 0) > 20)) style="background-color: rgba(255, 0, 0, 0.2)" @endif > {{ number_format($user->deperdition, 0) }} % {{ $user->rdv48h ?? 0 }} % {{ $user->transformation ?? 0 }} % is_fin_periode_essai) style="background-color: rgba(255, 184, 106, 0.5)" @endif > {{ number_format($user->panier_moyen, 0, ',', ' ') }} € is_fin_periode_essai) style="background-color: rgba(255, 184, 106, 0.5)" @endif > {{ number_format($user->marge, 0, ',', ' ') }} €
{{ $groupe->nom_secteur . ' - ' . $groupe->nom }} {{ number_format($groupe->somme_objectif_ca,0,',',' ') }} {{ number_format($groupe->somme_ca_realise,0,',',' ') }} {{ $groupe->somme_objectif_rdv }} {{ $groupe->somme_rdv_total}} {{ $groupe->somme_argus_total}}{{ isset($groupe->somme_ca_par_semaine[$i]) ? number_format($groupe->somme_ca_par_semaine[$i], 0, ',', ' ') . ' ' : '-' }}{{$groupe->somme_deperdition ?? 0}} % {{ $groupe->pourcentage_rdv48h }} % {{$groupe->somme_transformation ?? 0}} % {{ number_format($groupe->somme_panier_moyen,0,',',' ') }} {{ number_format($groupe->somme_marge,0,',',' ') }}
Total secteur {{ number_format($totauxSecteur->somme_objectif_ca, 0, ',', ' ') }} {{ number_format($totauxSecteur->somme_ca_realise, 0, ',', ' ') }} {{ $totauxSecteur->somme_objectif_rdv }} {{ $totauxSecteur->somme_rdv_total }} {{ $totauxSecteur->somme_argus_total }} {{ isset($totauxSecteur->somme_ca_par_semaine[$i]) ? number_format($totauxSecteur->somme_ca_par_semaine[$i], 0, ',', ' ') . ' ' : '-' }} {{ $totauxSecteur->somme_deperdition !== null ? number_format($totauxSecteur->somme_deperdition, 0) . ' %' : '-' }} {{ $totauxSecteur->pourcentage_rdv48h }} % {{ $totauxSecteur->somme_transformation !== null ? number_format($totauxSecteur->somme_transformation, 0) . ' %' : '-' }} {{ number_format($totauxSecteur->somme_panier_moyen, 0, ',', ' ') }} {{ number_format($totauxSecteur->somme_marge, 0, ',', ' ') }}
Total global {{ number_format($totauxGlobaux->somme_objectif_ca, 0, ',', ' ') }} {{ number_format($totauxGlobaux->somme_ca_realise, 0, ',', ' ') }} {{ $totauxGlobaux->somme_objectif_rdv }} {{ $totauxGlobaux->somme_rdv_total }} {{ $totauxGlobaux->somme_argus_total }} {{ isset($totauxGlobaux->somme_ca_par_semaine[$i]) ? number_format($totauxGlobaux->somme_ca_par_semaine[$i], 0, ',', ' ') . ' ' : '-' }} {{ $totauxGlobaux->somme_deperdition !== null ? number_format($totauxGlobaux->somme_deperdition, 0) . ' %' : '-' }} {{ $totauxGlobaux->pourcentage_rdv48h }} % {{ $totauxGlobaux->somme_transformation !== null ? number_format($totauxGlobaux->somme_transformation, 0) . ' %' : '-' }} {{ number_format($totauxGlobaux->somme_panier_moyen, 0, ',', ' ') }} {{ number_format($totauxGlobaux->somme_marge, 0, ',', ' ') }}
Fin de période d'essai
Désactivé