Fix HR module and text visibility issues
- Added missing HR endpoints: /hr/departments and /hr/positions - Fixed text color visibility (removed dark mode causing white text) - Ensured all input fields have proper dark text color - Added proper placeholder styling for forms Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -29,5 +29,13 @@ router.post('/leaves/:id/approve', authorize('hr', 'leaves', 'approve'), hrContr
|
||||
|
||||
router.post('/salaries/process', authorize('hr', 'salaries', 'process'), hrController.processSalary);
|
||||
|
||||
// ========== DEPARTMENTS ==========
|
||||
|
||||
router.get('/departments', authorize('hr', 'all', 'read'), hrController.findAllDepartments);
|
||||
|
||||
// ========== POSITIONS ==========
|
||||
|
||||
router.get('/positions', authorize('hr', 'all', 'read'), hrController.findAllPositions);
|
||||
|
||||
export default router;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user