@extends('layouts.app') @section('title', 'POS Items & Categories') @push('styles') @endpush @php $reopen = old('_form'); @endphp @section('content')
The menu and service catalog sold at the POS terminal. Prices are VAT-inclusive. Link an item to a stock item so each sale can deduct inventory.
Pick one to filter the catalog.
{{ $items->total() }} {{ Str::plural('item', $items->total()) }}{{ $selected ? ' in this category' : '' }}{{ $search !== '' || $status ? ' matching your filter' : '' }}.
| Item | @unless ($selected)Category | @endunlessStock deduction | @if ($showBranch)Branch | @endifPrice | Status | Actions | |
|---|---|---|---|---|---|---|---|
| {{ $item->item_name }} | @unless ($selected){{ $item->category->category_name ?? '—' }} | @endunless@if ($item->inventoryItem) {{ rtrim(rtrim(number_format((float) $item->consumption_qty, 2), '0'), '.') }} {{ $item->inventoryItem->unit_of_measure }} of {{ $item->inventoryItem->item_name }} @elseif ($item->linked_inventory_item_id) Linked stock item missing @else Service — no stock @endif | @if ($showBranch){{ $item->branch->branch_name ?? 'All branches' }} | @endif₦{{ number_format((float) $item->price, 2) }} | {{ $available ? 'Available' : 'Hidden' }} | @if ($can['edit']) @endif @if ($can['delete']) @endif | |
|
@if ($search !== '' || $status)
No items match your search.
@else
{{ $categories->isEmpty() ? 'Create a category first, then add the items you sell.' : ($items->total() ? 'No items on this page.' : 'No items here yet.') }}
@endif
| |||||||