Commit Graph

8 Commits

Author SHA1 Message Date
Yoga Pangestu
fe5dfd382f refactor: update relationships in models to include withTrashed() for soft deletes, ensuring proper handling of related records 2026-07-10 11:07:07 +07:00
Yoga Pangestu
e153497114 feat: implement ensureEditable method in LeaveRequest model for validation; update LeaveRequestController and LeaveRequestService to handle editability checks and transaction management for update and delete operations; enhance LeaveRequestService with new methods for pending requests and index page data 2026-07-04 00:29:57 +07:00
Yoga Pangestu
393c36e932 refactor: reorganize model structure and enhance attribute handling across multiple models, including improved casting, scope definitions, and attribute formatting 2026-06-28 14:47:19 +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
21adde11fd style: refine layout and formatting in Index.vue for improved readability and consistency 2026-06-20 21:48:26 +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
1d1f0e7941 Add activity logging features by integrating Spatie's laravel-activitylog package. Update Permission and Role enums to include activity log permissions. Implement activity logging in Login and Logout controllers. Enhance sidebar navigation to include activity logs section. Update models to interact with activity logs through InteractsWithActivityLog concern. 2026-06-12 11:10:36 +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