Commit Graph

18 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
a3ff10d6e1 refactor: remove unused Carbon imports from Attendance and Employee models; update ProfileService to use UserProfile directly; clean up imports in various service files for improved clarity 2026-07-04 21:54:31 +07:00
Yoga Pangestu
f1c3658166 feat: refactor EmployeeController and EmployeeService to utilize Role enum for role options; implement transaction management in EmployeeService methods for create, update, toggle status, and delete operations; enhance Employee model date formatting methods; update frontend components for improved UI and code clarity 2026-07-04 12:35:18 +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
0986ec780b refactor: standardize model structure, normalize bidirectional relations, and update documentation. 2026-06-22 11:26:47 +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
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
d50310c078 feat: replace welcome page with new Home controller and product catalog view, while updating date formatting and Vite config 2026-06-14 01:51:44 +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
Yoga Pangestu
34c59c24f5 Add attendance management features including Attendance model, AttendanceController for handling check-in and check-out operations, and AttendanceService for business logic. Implement request validation for attendance actions and enhance UI components for attendance listing, including a calendar view and detail dialog. Update permissions in the Permission and Role enums to manage attendance access, and integrate webcam functionality for capturing attendance photos. 2026-06-11 15:39:06 +07:00
Yoga Pangestu
3f05e3cdc2 Add payroll management features including Payroll, PayrollPeriod, and PayrollAdjustment models, along with PayrollService for handling payroll operations. Implement corresponding controllers for payroll and payroll period management, and integrate request validation for payroll adjustments. Enhance UI components for payroll listing and management, including data tables and modals. Update permissions in the Permission and Role enums, and add scheduled command for opening payroll periods. 2026-06-11 14:40:54 +07:00
Yoga Pangestu
39a74964fc Add employee advance management features including EmployeeAdvance model, EmployeeAdvanceController for CRUD operations, and corresponding permissions in the Permission and Role enums. Implement request validation for employee advances and enhance UI components for employee advance listing and management, including data table and form modal. Update sidebar for employee advances navigation. 2026-06-11 00:40:53 +07:00
Yoga Pangestu
887b811cee Refactor admin controllers for categories, products, and raw materials. Introduce new Master namespace for CategoryController, ProductController, and RawMaterialController, enhancing organization and maintainability. Migrate existing logic to dedicated service classes for improved separation of concerns and code clarity. Remove outdated controllers to streamline the codebase. 2026-06-10 15:02:14 +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
ff1ec1ef66 Add employee, user, and user profile models with enums for status and gender 2026-06-09 19:16:25 +07:00