@extends('layouts.master') @section('breadcrumb') @include('components.breadcrumb',['breadcrumbs' => [ [ 'name' => __("dashboard"), 'url' => route("home"), ] ], 'active' => __(@$title)]) @endsection @section('content')

{{ $title }}

@include("layouts.alert")
@foreach($pays as $pay)
user()->pays_id == null || auth()->user()->pays_id == $pay->id }}>
!
@lang("statisticcarte") - {{$pay->libelle}}

@lang("cartes")

{{ $cartes->where('pays_id', $pay->id)->count() }}

@lang("cartesnonattribues")

{{ $cartesnonattribues->where('pays_id', $pay->id)->count() }}

@lang("cartesattribues")

{{ $cartesattribues->where('pays_id', $pay->id)->count() }}

@lang("cartesclients")

{{ $cartesclients->where('pays_id', $pay->id)->count() }}

@lang("cartesdistributeurs")

{{ $cartesdistributeurs->where('pays_id', $pay->id)->count() }}

@lang("cartescabinistes")

{{ $cartescabinistes->where('pays_id', $pay->id)->count() }}

@lang("cartesgrandesurfaces")

{{ $cartesgrandesurfaces->where('pays_id', $pay->id)->count() }}

@lang("cartespointrelais")

{{ $cartespointrelais->where('pays_id', $pay->id)->count() }}

@endforeach
!
@lang("editionqr")
@csrf
@if(\Illuminate\Support\Facades\Auth::user()->pays_id ==null)
@error("pays_id")
{{$message}}
@enderror
@endif
@endsection