Commit Graph

10 Commits

Author SHA1 Message Date
Yoga Pangestu
7a1c4efe4a feat: enhance controller best practices and introduce new Cutting and Order management features with updated services and validation handling 2026-06-28 16:12:15 +07:00
Yoga Pangestu
0fabc7b280 refactor: utilize query builder for LeaveRequest and EmployeeAdvance status checks across multiple services for improved consistency and readability 2026-06-22 13:42:41 +07:00
Yoga Pangestu
6d6de5fa4b refactor: standardize enum case naming and update route permissions for consistency across the application 2026-06-22 13:24:53 +07:00
Yoga Pangestu
b88c2b4701 refactor: implement and utilize eloquent scopes for common model status queries across the application 2026-06-22 12:15:08 +07:00
Yoga Pangestu
6022f93d4b refactor: simplify LeaveRequest handling by removing unnecessary permission checks and validation methods, streamline service methods, and enhance UI components for better user experience 2026-06-21 01:39:27 +07:00
Yoga Pangestu
21adde11fd style: refine layout and formatting in Index.vue for improved readability and consistency 2026-06-20 21:48:26 +07:00
Yoga Pangestu
1de9d32136 refactor: implement strict role-based access control and scoped data visibility for finance and HR operations 2026-06-14 15:49:51 +07:00
Yoga Pangestu
c140192453 feat: prevent duplicate pending leave requests and restrict submission UI when a pending request exists 2026-06-14 14:58:25 +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
f6891dbe24 Add leave request management features including LeaveRequest model, LeaveRequestController for CRUD operations, and corresponding permissions in the Permission and Role enums. Update routes for leave requests functionality and enhance UI components for leave requests navigation in the sidebar. 2026-06-11 15:51:06 +07:00