@php $types = [ 'alle' => 'Alle', 'in' => 'Zugang', 'out' => 'Verbrauch', 'adjust' => 'Inventur/Korrektur', ]; $stationId = $stationId ?? 0; $stations = $stations ?? collect(); @endphp
Report: Buchungen
Treffer: {{ $kpis['count'] ?? 0 }} · Zugang: {{ $kpis['in'] ?? 0 }} · Verbrauch: {{ $kpis['out'] ?? 0 }} · Inventur: {{ $kpis['adjust'] ?? 0 }}
@if (auth()->user()->isDistrictUser())
@else @endif
Reset
@if (auth()->user()->isDistrictUser()) @endif @forelse($rows as $m) @php $pill = match ((string) $m->type) { 'in' => 'bg-emerald-50 text-emerald-700 border-emerald-200', 'out' => 'bg-red-50 text-red-700 border-red-200', 'adjust' => 'bg-neutral-100 text-rk-slate border-rk', default => 'bg-neutral-100 text-rk-slate border-rk', }; @endphp @if (auth()->user()->isDistrictUser()) @endif @empty @endforelse
Zeitpunkt Typ Artikel Variante Delta GrundOrtstelle User
{{ optional($m->booked_at)->format('d.m.Y H:i') }} {{ $m->type }} {{ $m->product?->name ?? '—' }} {{ $m->variant?->name ?? '—' }} {{ $m->quantity_delta > 0 ? '+' : '' }}{{ (int) $m->quantity_delta }} {{ $m->reason }}{{ $m->station?->name ?? '—' }} {{ $m->actor?->email ?? '—' }}
Keine Daten.
{{ $rows->links() }}