mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-26 10:08:42 -04:00
Refactor: Move ADMIN_MODULES to constants, rename methods to camelCase
- Move admin modules list from is_admin method to ADMIN_MODULES constant - Rename is_admin() to isAdmin() following CodeIgniter naming conventions - Rename can_modify_employee() to canModifyEmployee() following conventions - Update all callers in Employees controller and tests
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f