Commit Graph

8 Commits

Author SHA1 Message Date
Yoga Pangestu
245127c921 feat: add submit URL to EmployeeForm component for employee creation functionality 2026-06-21 15:31:24 +07:00
Yoga Pangestu
0b4418862d feat: implement PhoneNumber validation rule across multiple request classes to ensure consistent phone number formatting 2026-06-19 21:37:08 +07:00
Yoga Pangestu
e55df2cd4f feat: update EmployeeRequest validation rules to require join_date, base_salary, and employment_status only for non-owners; enhance EmployeeForm.vue to reflect required fields in the UI 2026-06-19 21:13:03 +07:00
Yoga Pangestu
175cb4acab refactor: make employee employment fields nullable and update related salary calculations and display logic 2026-06-14 15:29:08 +07:00
Yoga Pangestu
eb2047a3e2 Implement FlashesEntityMessage trait across multiple controllers for consistent flash messaging. Update flash messages in various methods to utilize the new trait, enhancing code maintainability and readability. Additionally, add attribute methods in request classes for improved validation feedback. 2026-06-12 22:48:23 +07:00
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