@extends('layouts.app') @section('title', 'Kitchen Dashboard') @section('content') @php $money = fn ($v) => \App\Support\Fmt::money($v); $num = fn ($v) => \App\Support\Fmt::plain($v, 2); @endphp

Command centre for stores, counter requisitions and catering cost

Kitchen Dashboard

CSV
@include('partials.flashes') @if ($storeCount === 0)
You have not created a store yet — do that under Inventory › Settings › Warehouses first.
@else
@foreach ([ ['label' => 'Stock on hand', 'value' => $money($stockValue), 'sub' => $itemCount.' items across '.$storeCount.' store(s)', 'href' => route('kitchen.stores-ledger'), 'accent' => 'text-emerald-600'], ['label' => 'Requisitions awaiting approval', 'value' => (string) $awaiting, 'sub' => 'Submitted counter requisitions', 'href' => route('kitchen.counter-requisition', ['status' => 'Submitted']), 'accent' => 'text-amber-600'], ['label' => 'Current period food cost position', 'value' => $money($periodPosition), 'sub' => 'Term 1, 2026 · committed kitchen spend', 'href' => route('kitchen.food-cost'), 'accent' => 'text-sky-600'], ] as $card) {{ $card['label'] }} {{ $card['value'] }} {{ $card['sub'] }} @endforeach

Below reorder level

{{ $low->count() }} item(s) need restocking
@forelse ($low as $item) @empty @endforelse
Item Store On hand Reorder at Value
{{ $item->name }}{{ $item->unit }} {{ $item->store?->name ?? '—' }} {{ $num($item->on_hand) }} {{ $num($item->reorder_level) }} {{ $money($item->stockValue()) }}
Nothing is below its reorder level.

Variance — theoretical vs actual

Food cost →
@forelse ($foodCosts as $row) @empty @endforelse
Item Theoretical Actual Variance Value Band
{{ $row['item'] }} {{ $num($row['theoretical']) }} {{ $num($row['actual']) }} {{ $row['variance'] > 0 ? '+' : '' }}{{ $num($row['variance']) }} {{ $money($row['did_cost']) }} @include('kitchen.partials.band', ['band' => $row['band']])
No variance data yet for this store.

Recent requisitions

Counter requisitions →
@forelse ($recent as $s) @empty @endforelse
No. Date From → To Lines Value Status
{{ $s->s11_no }} {{ \App\Support\Fmt::day($s->raised_on?->toDateString()) }} {{ $s->store?->name ?? '—' }} → {{ $s->point_of_use }} {{ $s->lineCount() }} {{ $money($s->requiredValue()) }} @include('kitchen.partials.badge', ['status' => $s->status])
No requisitions match this store yet.
@endif
@endsection