@extends('layouts.admin') @section('title', 'Statistiques BMP') @section('content')

Statistiques BMP Processing

Retour
Total traité
{{ number_format($stats['total']) }}
Taux de succès
{{ $stats['success_rate'] }}%
Échecs actifs
{{ number_format($stats['failed']) }}
Rejouables
{{ number_format($stats['retryable']) }}

Statistiques par type de fichier

@foreach($fileTypeStats as $stat) @endforeach
Type Total Succès Échecs Taux succès
{{ $stat->file_type }} {{ number_format($stat->total) }} {{ number_format($stat->success) }} {{ number_format($stat->failed) }}
{{ $stat->success_rate }}%

Top 10 des erreurs

@forelse($topErrors as $error)
{{ $error->error_code }}
{{ Str::limit($error->sample_message, 100) }}
{{ number_format($error->count) }}
@empty

Aucune erreur enregistrée

@endforelse

Statistiques quotidiennes (30 derniers jours)

@foreach($dailyStats as $day) @php $successRate = $day->total > 0 ? round(($day->success / $day->total) * 100, 2) : 0; @endphp @endforeach
Date Total Succès Échecs Taux
{{ $day->date }} {{ number_format($day->total) }} {{ number_format($day->success) }} {{ number_format($day->failed) }}
{{ $successRate }}%

Répartition par statut

Success
{{ number_format($stats['success']) }}
Failed
{{ number_format($stats['failed']) }}
Pending
{{ number_format($stats['pending']) }}
Processing
{{ number_format($stats['processing']) }}
Skipped
{{ number_format($stats['skipped']) }}
@endsection