@extends('models')
@section('titre-page', 'Accueil')
@section('content-body')
@php
$site = session()->get('site') ?? [];
$ModeGpharma = ModeGpharma()
@endphp
{{-- Début de la modal filtre --}}
{{-- Fin de la modal filtre --}}
@if(
in_array('AC_AccesStatCmdeParStatut', session('LISTE_DROIT_ACCESS', [])) ||
in_array('AC_AccesStatCmdeParMode', session('LISTE_DROIT_ACCESS', [])) ||
in_array('AC_AccesCaSelonFacture', session('LISTE_DROIT_ACCESS', [])) ||
in_array('AC_AccesStatFactureParModeCde', session('LISTE_DROIT_ACCESS', [])) ||
in_array('AC_TopClientSelonCde', session('LISTE_DROIT_ACCESS', [])) ||
in_array('AC_TopClientSelonFacture', session('LISTE_DROIT_ACCESS', []))
)
{{-- Début row d'affichage de filtre --}}
@endif
{{-- Fin row d'affichage de filtre --}}
@if (in_array("AC_AccesValeurStock", session('LISTE_DROIT_ACCESS',[])))
@endif
{{-- Debut bloc Stats commandes client par statut --}}
@if(in_array('AC_AccesStatCmdeParStatut', session('LISTE_DROIT_ACCESS',[])))
@endif
{{-- Fin bloc Stats commandes client par statut --}}
{{-- Debut bloc Stats de commande client par mode --}}
@if(in_array('AC_AccesStatCmdeParMode', session('LISTE_DROIT_ACCESS',[])))
{{$ModeGpharma != 2 ? "Télémarket" : "Téléphone"}}
0
{{ $ModeGpharma != 2 ? "Pharma-ML" : "Guichet"}}
0
@endif
{{-- Fin bloc Stats de commande client par mode --}}
{{--
Employees In Leave
528
This Month
+0.36%
--}}
@if( in_array('AC_AccesCaSelonFacture', session('LISTE_DROIT_ACCESS',[])))
@endif
{{-- Debut bloc Stats de facture client par mode de commande --}}
@if(in_array('AC_AccesStatFactureParModeCde', session('LISTE_DROIT_ACCESS',[])))
{{$ModeGpharma != 2 ? "Télémarket" : "Téléphone"}}
0
{{$ModeGpharma != 2 ? "Pharma-ML" : "Guichet"}}
0
@endif
{{-- Fin bloc Stats de facture client par mode de commande --}}
{{-- Debut bloc N top client selon commande --}}
@if(in_array('AC_TopClientSelonCde', session('LISTE_DROIT_ACCESS',[])))
@endif
{{-- Fin bloc N top client selon commande --}}
{{-- Debut bloc N top client selon facture --}}
@if(in_array('AC_TopClientSelonFacture', session('LISTE_DROIT_ACCESS',[])))
@endif
{{-- Fin bloc N top client selon facture --}}
@if(!in_array('AC_AccesStatCmdeParStatut', session('LISTE_DROIT_ACCESS',[])) && !in_array('AC_AccesStatCmdeParMode', session('LISTE_DROIT_ACCESS',[]))
&& !in_array('AC_AccesCaSelonFacture', session('LISTE_DROIT_ACCESS',[])) && !in_array('AC_AccesStatFactureParModeCde', session('LISTE_DROIT_ACCESS',[]))
&& !in_array('AC_TopClientSelonCde', session('LISTE_DROIT_ACCESS',[])) && !in_array('AC_TopClientSelonFacture', session('LISTE_DROIT_ACCESS',[])))
@endif
{{-- Modal top clients selon commande --}}