Files
opensourcepos/app/Controllers
jekkos 3108fda0a2 fix(items): enforce stock location authorization in postSaveInventory
Add is_allowed_location() check before processing inventory adjustments
to prevent employees from modifying stock at unauthorized locations.

Adds not_authorized language key and two regression tests:
- testPostSaveInventoryRejectsUnauthorizedStockLocation (403)
- testPostSaveInventoryAllowsAuthorizedStockLocation (200)
2026-11-08 07:50:12 +01:00
..
2025-03-28 21:24:21 +04:00