@extends('layouts.app') @section('title', 'Tableau de bord') @section('content')

Tableau de bord

{{ $totalDossiers }}
Dossiers au total
{{ $enRetard->count() }}
Dossiers en retard (ETA dépassée)
{{ number_format($co2Cumule ?? 0, 1, ',', ' ') }}
Émissions CO2 cumulées
Dossiers par état
    @forelse($parEtat as $nom => $total)
  • {{ $nom }}{{ $total }}
  • @empty
  • Aucune donnée
  • @endforelse
Dossiers par mode de transport
    @forelse($parMode as $nom => $total)
  • {{ $nom }}{{ $total }}
  • @empty
  • Aucune donnée
  • @endforelse
Dossiers en retard
@forelse($enRetard as $t) @empty @endforelse
N° dossierClientDestinationÉtatETA
{{ $t->numero_dossier ?: $t->numero_affaire }} {{ $t->client }} {{ $t->destinationPays?->nom }} {{ $t->etat?->nom }} {{ $t->eta?->format('d/m/Y') }}
Aucun dossier en retard 🎉
@endsection