← Zurück
{{-- KPIs --}}

Inventuren gesamt

{{ $totalTasks }}

letzten {{ $period }} Tage

Abschlussquote

{{ $completionRate }}%

{{ $completedTasks }} von {{ $totalTasks }} erledigt

Ø Abweichung

{{ number_format($deviationStats->avg_abs_deviation ?? 0, 1) }}

Stück pro Zählung

Gesamt-Abweichung

{{ number_format($deviationStats->total_deviation ?? 0, 0) }}

Stück kumuliert

{{-- Abweichungsverteilung --}}

Abweichungsverteilung

@php $total = max(1, $deviationStats->total ?? 1); @endphp
Keine Abweichung {{ $deviationStats->exact ?? 0 }} ({{ round(($deviationStats->exact ?? 0) / $total * 100) }}%)
Negativ (Schwund) {{ $deviationStats->negative ?? 0 }} ({{ round(($deviationStats->negative ?? 0) / $total * 100) }}%)
Positiv (Buchungsfehler) {{ $deviationStats->positive ?? 0 }} ({{ round(($deviationStats->positive ?? 0) / $total * 100) }}%)
{{-- Filial-Performance --}}

Filial-Performance

@foreach($branchStats->sortByDesc('completion_rate') as $branch)
{{ $branch->name }} {{ $branch->completion_rate }}%

{{ $branch->tasks_done }}/{{ $branch->tasks_total }} Zählungen

@endforeach
{{-- Top Abweichungen --}}

Top Abweichungen

@forelse($topDeviations as $count) @empty @endforelse
Datum Filiale Artikel Soll Ist Abweichung
{{ $count->counted_at->format('d.m.Y') }} {{ $count->task->branch->name ?? '–' }} {{ $count->task->article_name ?? '–' }} {{ number_format($count->task->expected_stock ?? 0, 0) }} {{ number_format($count->actual_stock, 0) }} {{ $count->deviation > 0 ? '+' : '' }}{{ number_format($count->deviation, 0) }}
Noch keine Zählungen im gewählten Zeitraum.