@extends('layouts.app') @section('titre', 'Statistiques — Pétrins') @section('contenu')

Statistiques — Pétrins réalisés & séries (indicateurs 1-2-3, annexe A)

Pétrins Conditionnement Pertes Retards
@include('reporting._filtres', ['action' => route('reporting.petrins'), 'champs' => ['produit', 'ligne', 'equipe']])
{{ number_format($totalRealises, 0, ',', ' ') }}
pétrins réalisés
{{ number_format($totalPlanifies, 0, ',', ' ') }}
pétrins planifiés
{{ $totalPlanifies > 0 ? round($totalRealises * 100 / $totalPlanifies, 1) : '—' }} %
taux de réalisation
{{ $totalSeries }}
séries
{{ $totalSeries > 0 ? round($totalRealises / $totalSeries, 1) : '—' }}
pétrins / série (moyenne)
@forelse($agregats as $a) @empty @endforelse
DateProduit fabriquéLigneÉquipe PlanifiésRéalisésSériesPétrins/série
{{ $a->date_reference->format('d/m/Y') }} {{ $a->produitFabrique->libelle }} {{ $a->ligne->code }} {{ $a->equipe?->libelle ?? '—' }} {{ $a->petrins_planifies }} {{ $a->petrins_realises }} {{ $a->nb_series }} {{ $a->nb_series > 0 ? round($a->petrins_realises / $a->nb_series, 1) : '—' }}
Aucun agrégat sur la période — utilisez « Recalculer les agrégats » après des saisies terrain.
@endsection