# CHECKLABS POS — POS Stock Visibility and Reports Update (2026-11-11)

## Fixes
- POS catalogue stock totals now sum stock rows from every store in the active business branch. The previous `whereNull(department_id)` condition excluded legacy department-specific stock rows and made real stock appear as zero.
- Waiter overselling validation now checks all stock rows in the active branch, not only the main/null-department store.
- Stock Report is the stock-level reporting entry in the Reports menu; the separate Stock menu shortcut has been removed from the sidebar. Existing stock/adjustment/transfer routes remain available for operational workflows.
- Stock Report filters: period, custom date range, category, product name/SKU/barcode, and low-stock-only. The report combines stock across every store in the selected branch.
- Stock Report export carries the active filters and supports the existing CSV, Excel and PDF export formats.
- Profit & Loss is branch-scoped for restaurant sales, bar sales, expenses, cash received and outstanding restaurant orders. It retains the existing period filter and CSV/Excel/PDF export.

## Files changed
- app/Http/Controllers/Restaurant/OrderController.php
- app/Services/PosService.php
- app/Http/Controllers/Reports/InventoryReportController.php
- app/Http/Controllers/Reports/FinancialReportController.php
- resources/views/reports/inventory.blade.php
- resources/views/partials/sidebar.blade.php

## Validation
- PHP syntax checks passed for modified PHP controllers/services and routes.
- ZIP integrity checked after packaging.
- Not tested against the live cPanel database/browser. Verify a product with stock in an older department store, check its POS quantity, then complete a test sale and confirm the branch stock ledger.
