mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-11-08 23:43:32 -05:00
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)