@php use App\Models\KitchenS11; $editing = $s11 !== null; $action = $editing ? route('kitchen.counter-requisition.update', $s11) : route('kitchen.counter-requisition.store'); $method = $editing ? 'PUT' : 'POST'; $sel = $sel ?? 'h-9 w-full rounded-lg border border-input bg-transparent px-3 text-sm outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50'; $existing = $editing ? $s11->lines : collect(); @endphp
@csrf @method($method)

Lines *

@forelse ($existing as $line) @empty @endforelse
Item Store On hand Qty required Remarks
{{ $line->item?->store?->name ?? '—' }} {{ \App\Support\Fmt::plain($line->item?->on_hand ?? 0, 2) }}
— —
Only items belonging to the selected store are saved.
Cancel
@once @push('scripts') @endpush @endonce