Commit Graph

157 Commits

Author SHA1 Message Date
Yoga Pangestu
66bdd86b4f refactor: remove unused check_out_photo_path from checkedInOnly state in AttendanceFactory 2026-06-22 20:54:58 +07:00
Yoga Pangestu
f12c7cea75 refactor: remove supplier permissions from Role enum to streamline access control 2026-06-22 19:28:11 +07:00
Yoga Pangestu
dc72033bd9 refactor: replace Builder import with Eloquent\Builder for improved clarity in PayrollAdjustment model 2026-06-22 19:08:55 +07:00
Yoga Pangestu
da879eb1f3 refactor: exclude users with the developer role from employee pagination query for improved data management 2026-06-22 18:31:38 +07:00
Yoga Pangestu
e3b138d410 refactor: update toggleStatus method in EmployeeController to accept validated request data for improved status management 2026-06-22 18:20:42 +07:00
Yoga Pangestu
86956b1c9f refactor: add methods for retrieving assignable roles and their values in Role enum, and enhance Permission enum with values method for improved role management 2026-06-22 18:12:43 +07:00
Yoga Pangestu
da3e3a6895 refactor: enhance permission and role management by introducing group categorization for permissions and streamlining role permission assignments for improved maintainability 2026-06-22 17:57:18 +07:00
Yoga Pangestu
9a35c1cae2 refactor: remove unused docblocks in CustomerService and add getSelectOptions method for enhanced customer data retrieval 2026-06-22 15:18:07 +07:00
Yoga Pangestu
8159e45e3a refactor: remove unused docblocks in SupplierService and add getSelectOptions method for improved supplier data retrieval 2026-06-22 15:09:53 +07:00
Yoga Pangestu
4f7290711d refactor: update database connection settings in phpunit.xml and clean up CategoryService by removing unused docblocks and reorganizing sorting logic for improved clarity 2026-06-22 15:02:04 +07:00
Yoga Pangestu
27c5b5fffa refactor: streamline enum management and enhance role assignment logic in EmployeeController for improved maintainability 2026-06-22 14:41:52 +07:00
Yoga Pangestu
480e173d12 refactor: update route references for system settings in SettingController and AppSidebar for consistency 2026-06-22 14:00:56 +07:00
Yoga Pangestu
a89922fea6 refactor: enhance attendance penalty application by utilizing query scopes for employee status and payroll period checks 2026-06-22 13:58:07 +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
d8a403daa9 refactor: streamline active product retrieval by utilizing query builder for improved clarity and maintainability 2026-06-22 13:07:49 +07:00
Yoga Pangestu
f38f61fe45 refactor: standardize variable naming in query closures across service classes for improved readability 2026-06-22 12:53:09 +07:00
Yoga Pangestu
f83def0e8a perf: implement batch-fetching for variant prices to optimize query performance in OrderService and HomeController 2026-06-22 12:40:58 +07:00
Yoga Pangestu
747836be91 refactor: replace individual attribute assignments and save calls with mass update() calls across service classes 2026-06-22 12:26:38 +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
5119dd7208 refactor: encapsulate password update and push subscription logic within dedicated services 2026-06-22 12:08:20 +07:00
Yoga Pangestu
60142c5aa8 refactor: extract validation logic into FormRequests for verification and push subscription controllers 2026-06-22 12:00:46 +07:00
Yoga Pangestu
3e5ffef2d8 feat: implement DashboardService and refactor active scope usage in services 2026-06-22 11:48:13 +07:00
Yoga Pangestu
1ffb913fe8 refactor: refactor CashTransaction model logic into helper methods and update best practice documentation for Eloquent attributes 2026-06-22 11:39:40 +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
8ce493ebf2 refactor: update DashboardController to use imported models for product and category counts 2026-06-22 11:14:15 +07:00
Yoga Pangestu
4a13297cb7 feat: enhance dashboard with marketplace summary and additional product statistics for improved analytics 2026-06-22 10:43:33 +07:00
Yoga Pangestu
ad73e8237c refactor: update storePriceTypeOptions to exclude HARGA_MODAL from available price types for improved pricing logic 2026-06-21 16:06:14 +07:00
Yoga Pangestu
322af0c1e8 refactor: remove STOCKS_VIEW permission from ADMIN_BAHAN_BAKU role for updated permission management 2026-06-21 15:57:31 +07:00
Yoga Pangestu
19675aa057 feat: add CheckInRequest and CheckOutRequest classes for attendance management with validation rules 2026-06-21 15:48:56 +07:00
Yoga Pangestu
60e87803d8 feat: add new permissions and update related functionality for owner verifications and stock management 2026-06-21 15:44:03 +07:00
Yoga Pangestu
245127c921 feat: add submit URL to EmployeeForm component for employee creation functionality 2026-06-21 15:31:24 +07:00
Yoga Pangestu
4cbd296c0c feat: add submittedBy relationship to Cutting model and enhance notification system for cutting updates and deletions 2026-06-21 15:16:58 +07:00
Yoga Pangestu
50f9328ebc feat: implement owner verification process with new status and related functionality for improved stock management 2026-06-21 14:51:15 +07:00
Yoga Pangestu
5e71277056 feat: add harga_modal price type and related logic for improved stock management and pricing accuracy 2026-06-21 14:08:53 +07:00
Yoga Pangestu
07e9a4ab18 refactor: remove verified cuttings display and related logic from StockController and StockPendingSection for improved clarity and focus on pending cuttings 2026-06-21 13:32:04 +07:00
Yoga Pangestu
e76a117abb refactor: adjust material usage calculations to account for remaining material across Cutting components for improved accuracy in cost and usage representation 2026-06-21 13:25:51 +07:00
Yoga Pangestu
fc234a6afd refactor: remove length unit handling from CuttingMaterial and related components for improved clarity and consistency in material usage representation 2026-06-21 12:59:11 +07:00
Yoga Pangestu
ec80f2145b refactor: remove ProductPendingAction and ProductStatus enums, update related references in Product model and services for improved code clarity and maintainability 2026-06-21 12:36:36 +07:00
Yoga Pangestu
13f2c6d745 refactor: standardize material usage and remaining material precision to two decimal places across CuttingService and related components for improved consistency 2026-06-21 12:23:51 +07:00
Yoga Pangestu
3bb6baffa6 feat: enhance raw material stock display by adding breakdown by unit in DashboardController and updating Dashboard.vue for improved inventory insights 2026-06-21 12:15:18 +07:00
Yoga Pangestu
e4b475cd82 feat: add stock management functionality by introducing StockController and updating AppSidebar to include stock menu item for improved inventory handling 2026-06-21 11:53:41 +07:00
Yoga Pangestu
04897cb3bd refactor: remove status check in appendCostPreview method to streamline cost calculation in CuttingService and update labels for material cost in CuttingPosForm for improved clarity 2026-06-21 11:38:14 +07:00
Yoga Pangestu
175e0dc5af refactor: update material usage and remaining material precision to four decimal places across cutting management components for improved accuracy 2026-06-21 11:02:54 +07:00
Yoga Pangestu
9c205cf3d0 feat: enhance cutting management by adding draft materials and results functionality, improving user experience with new API endpoints and UI components for better material handling 2026-06-21 10:29:45 +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
0cb93c4e05 refactor: update AttendanceController and related components to use new CheckInRequest and CheckOutRequest classes, streamline attendance handling by removing location tags, and enhance UI components for better user experience 2026-06-21 01:35:30 +07:00
Yoga Pangestu
b7fddf0597 refactor: update EmployeeController to use ToggleStatusRequest for status toggling and streamline EmployeeService methods for improved validation and clarity 2026-06-21 01:16:22 +07:00
Yoga Pangestu
0803cbeb96 refactor: consolidate payroll management by merging PayrollPeriodController into PayrollController, enhancing data handling and UI components for improved functionality 2026-06-21 01:02:12 +07:00
Yoga Pangestu
50eaced126 feat: enhance employee advance management by adding status filtering, improving pagination, and implementing new modal components for better user interaction 2026-06-21 00:41:56 +07:00