@extends('layouts.app') @section('title', 'Stock Adjustment') @section('page', 'inventory') @section('inventoryNav', 'adjustments') @php $rows = [ ['id' => 101, 'ref' => 'ADJ-2401', 'date' => '2026-07-13', 'sku' => 'ING-204', 'product' => 'Salmon Fillet', 'warehouse' => 'Cold Store', 'type' => 'Stock out', 'qty' => -2, 'reason' => 'Spoilage', 'user' => 'Hasitha', 'status' => 'Posted'], ['id' => 102, 'ref' => 'ADJ-2402', 'date' => '2026-07-13', 'sku' => 'PRD-1003', 'product' => 'Craft Lemonade', 'warehouse' => 'Downtown', 'type' => 'Stock in', 'qty' => 40, 'reason' => 'Receiving', 'user' => 'Hasitha', 'status' => 'Posted'], ['id' => 103, 'ref' => 'ADJ-2403', 'date' => '2026-07-12', 'sku' => 'ING-088', 'product' => 'Truffle Oil', 'warehouse' => 'Dry Store', 'type' => 'Count', 'qty' => -1, 'reason' => 'Cycle count', 'user' => 'Sara K', 'status' => 'Posted'], ['id' => 104, 'ref' => 'ADJ-2404', 'date' => '2026-07-12', 'sku' => 'PRD-1017', 'product' => 'French Fries', 'warehouse' => 'Downtown', 'type' => 'Stock out', 'qty' => -8, 'reason' => 'Comp meals', 'user' => 'Jordan', 'status' => 'Posted'], ['id' => 105, 'ref' => 'ADJ-2405', 'date' => '2026-07-11', 'sku' => 'ING-301', 'product' => 'Mozzarella', 'warehouse' => 'Cold Store', 'type' => 'Stock in', 'qty' => 12, 'reason' => 'PO-8841', 'user' => 'Hasitha', 'status' => 'Draft'], ['id' => 106, 'ref' => 'ADJ-2406', 'date' => '2026-07-11', 'sku' => 'PRD-1031', 'product' => 'Seasonal Special', 'warehouse' => 'Downtown', 'type' => 'Count', 'qty' => 0, 'reason' => 'End of promo', 'user' => 'Mia', 'status' => 'Posted'], ['id' => 107, 'ref' => 'ADJ-2407', 'date' => '2026-07-10', 'sku' => 'BEV-031', 'product' => 'Lemonade Base', 'warehouse' => 'Dry Store', 'type' => 'Stock in', 'qty' => 15, 'reason' => 'Transfer receive', 'user' => 'Hasitha', 'status' => 'Posted'], ['id' => 108, 'ref' => 'ADJ-2408', 'date' => '2026-07-10', 'sku' => 'ING-303', 'product' => 'Basil Pesto', 'warehouse' => 'Cold Store', 'type' => 'Stock out', 'qty' => -5, 'reason' => 'Expired', 'user' => 'Sara K', 'status' => 'Voided'], ['id' => 109, 'ref' => 'ADJ-2409', 'date' => '2026-07-09', 'sku' => 'PRD-1001', 'product' => 'Grilled Salmon Bowl', 'warehouse' => 'Downtown', 'type' => 'Count', 'qty' => 3, 'reason' => 'Prep variance', 'user' => 'Jordan', 'status' => 'Posted'], ['id' => 110, 'ref' => 'ADJ-2410', 'date' => '2026-07-09', 'sku' => 'PRD-1024', 'product' => 'Sparkling Water', 'warehouse' => 'Dry Store', 'type' => 'Stock in', 'qty' => 60, 'reason' => 'PO-8848', 'user' => 'Hasitha', 'status' => 'Posted'], ['id' => 111, 'ref' => 'ADJ-2411', 'date' => '2026-07-08', 'sku' => 'ING-410', 'product' => 'Potato Fries', 'warehouse' => 'Cold Store', 'type' => 'Stock out', 'qty' => -10, 'reason' => 'Usage', 'user' => 'Mia', 'status' => 'Posted'], ['id' => 112, 'ref' => 'ADJ-2412', 'date' => '2026-07-08', 'sku' => 'PRD-1012', 'product' => 'Espresso', 'warehouse' => 'Downtown', 'type' => 'Count', 'qty' => -4, 'reason' => 'Waste', 'user' => 'Sara K', 'status' => 'Draft'], ]; $typeVariant = fn ($t) => match ($t) { 'Stock in' => 'success', 'Stock out' => 'danger', 'Count' => 'info', default => 'neutral', }; $statusVariant = fn ($s) => match ($s) { 'Posted' => 'success', 'Draft' => 'warning', 'Voided' => 'danger', default => 'neutral', }; @endphp @section('content')

Stock Adjustment

Increase, decrease, or correct on-hand qty

@include('partials.inventory-nav') @foreach ($rows as $row) {{ $row['ref'] }} {{ $row['date'] }} {{ $row['sku'] }} {{ $row['product'] }} {{ $row['warehouse'] }} {{ $row['type'] }} {{ $row['qty'] > 0 ? '+'.$row['qty'] : $row['qty'] }} {{ $row['reason'] }} {{ $row['user'] }} {{ $row['status'] }} @endforeach
UI only — adjustments are not posted.
@endsection @push('scripts') @endpush