Commit Graph

6 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
e3dff20377 Update login redirection to admin dashboard, add sidebar state management, and enhance auth type definition. Introduce logout route and admin dashboard route under authentication middleware. 2026-06-09 19:32:29 +07:00
Yoga Pangestu
151490d47e Add login functionality with a new LoginController and LoginRequest. Implemented a LoginForm component for user authentication. Added a components.json configuration file and updated package dependencies. Enhanced CSS styles and added utility components for UI elements. 2026-06-09 19:19:46 +07:00
Yoga Pangestu
632296c453 initial commit 2026-06-09 18:25:14 +07:00