Commit Graph

5 Commits

Author SHA1 Message Date
Yoga Pangestu
a917c76c6b Add role and permission management using Spatie's Laravel Permission package. Introduce Role and Permission enums, update User model to use roles, and implement authorization checks in EmployeeController and related components. Enhance employee management forms and data tables to include role selection and display. Update migrations and seeders for roles and permissions. 2026-06-10 01:51:05 +07:00
Yoga Pangestu
184b012fd9 Remove EmployeeStatus enum and related references from the codebase. Update Employee and User models to eliminate employee status handling. Refactor EmployeeController and related components to remove employee status filtering and display. Adjust EmployeeRequest and migration files accordingly. 2026-06-10 01:31:50 +07:00
Yoga Pangestu
926da48a8e Enhance employee and user profile models by adding formatted date attributes and relationships. Introduce enum labels for EmployeeStatus, EmploymentStatus, and Gender. Update routes for employee management with new HR controller actions. 2026-06-10 01:16:15 +07:00
Yoga Pangestu
960bd71fd0 Add ConfirmDialog component for confirmation actions, enhance DataTable with pagination summary and links, and update phone number formatting. Integrate new UI components and improve flash toast handling. 2026-06-10 01:15:56 +07:00
Yoga Pangestu
413021c0d0 Add employee management components including DataTable for displaying employee details, a dropdown for actions, and a calendar UI for date selection. Introduce native select components for improved form handling. 2026-06-10 00:20:49 +07:00