Commit Graph

53 Commits

Author SHA1 Message Date
Yoga Pangestu
9539ff7042 refactor: remove StockController and related stock verification logic
- Deleted `data-table-actions.vue` component as it is no longer needed.
- Removed `CuttingResultPriceItem` type and related properties from `cutting.ts`.
- Updated routes in `web.php` to eliminate stock verification routes and permissions.
- Removed `StockTest.php` file and its associated tests for stock verification and management.
- Adjusted `CuttingTest.php` to reflect changes in cutting results handling and removed references to product variants.
2026-07-19 17:29:19 +07:00
Yoga Pangestu
cf5b300895 Refactor product status management: replace is_active with status enum
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
- Updated the OwnerVerificationRequest model to change pendingToggleIsActive to pendingToggleStatus, reflecting the new status structure.
- Refactored the Product model to replace is_active with status, utilizing the ProductStatus enum for better clarity and type safety.
- Modified the ProductService to accommodate the new status field, including pagination and creation logic.
- Adjusted the AnalysisService to filter products based on their status.
- Updated the VerificationChangeFormatter to handle the new status field.
- Created a migration to remove is_active from the products table and add status with appropriate default values.
- Refactored the ProductSeeder to use the new status field.
- Updated frontend components and types to reflect the changes from is_active to status.
- Adjusted tests to ensure they validate the new status logic correctly.
2026-07-18 16:34:34 +07:00
Yoga Pangestu
08d3982aa5 feat: enhance employee pagination by incorporating user role checks for improved access control 2026-07-14 21:30:15 +07:00
Yoga Pangestu
62beb309a8 feat: implement restock management features including CRUD operations, permissions, and UI components for creating and editing restocks 2026-07-13 19:15:17 +07:00
Yoga Pangestu
e431cbb54b refactor: simplify raw material creation, update, and deletion processes by removing owner verification checks and enhancing user feedback 2026-07-13 11:57:59 +07:00
Yoga Pangestu
bb74fb49c8 feat: require s3_keys for product and raw material variants, enhancing validation and user feedback in forms 2026-07-13 11:28:48 +07:00
Yoga Pangestu
3c5389e541 feat: add search functionality by ID for purchases, products, and raw materials, enhancing data retrieval in index views 2026-07-10 11:47:10 +07:00
Yoga Pangestu
b87203d6ab feat: implement permission-based messaging for purchase and stock verification actions, enhancing user feedback based on roles 2026-07-10 11:26:06 +07:00
Yoga Pangestu
fa4f6d4737 feat: enhance raw material stock filtering in index view, adding tests for low stock and out of stock scenarios 2026-07-10 11:15:26 +07:00
Yoga Pangestu
b93a200284 refactor: remove quick-create raw material functionality and associated request, streamlining the CuttingDraftItemController and related components 2026-07-09 15:22:12 +07:00
Yoga Pangestu
a3954faab6 feat: add functionality to create new raw materials and store them in the purchase draft, enhancing the purchasing process 2026-07-09 14:54:23 +07:00
Yoga Pangestu
897d9c62b7 feat: enhance ProductController and ProductService to support owner verification permissions; add ProductVariantEditModal for editing product variants and implement JSON response for product details 2026-07-08 16:09:57 +07:00
Yoga Pangestu
8c3847ade3 feat: enhance RawMaterialController and RawMaterialService to support owner verification permissions; add RawMaterialVariantEditModal for editing price variants and implement JSON response for raw material details
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-08 15:48:38 +07:00
Yoga Pangestu
5b9c294bf2 feat: refactor cache configuration to use class constants for improved readability and maintainability; update Cutting and Order tests to utilize service classes directly 2026-07-08 15:35:26 +07:00
Yoga Pangestu
d2ddc5e6b7 refactor: enhance stock filtering in CuttingService and OrderService, update UI components for better display of stock information
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-06 21:24:26 +07:00
Yoga Pangestu
00ef124fb3 feat: add predis/predis dependency and implement caching in various services for improved performance 2026-07-05 23:31:55 +07:00
Yoga Pangestu
2cb283018c test: add comprehensive tests for retail stock transfer functionality, including permission checks, quantity validation, and stock updates
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-05 17:46:45 +07:00
Yoga Pangestu
58e676e2e1 refactor: remove image handling from Cutting components; simplify CuttingPosForm, CuttingPosSummaryPanel, and related files to enhance user experience and streamline product creation process 2026-07-05 15:42:28 +07:00
Yoga Pangestu
289fc4dc2c feat: implement stock quality categorization in StokOpname; enhance validation rules and update frontend components for improved inventory tracking and reporting
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-05 14:06:47 +07:00
Yoga Pangestu
352599bf00 feat: update OrderService and frontend components to automatically set order status to completed for cashiers; adjust payment and marketing fields accordingly; enhance tests to verify new behavior 2026-07-05 02:24:24 +07:00
Yoga Pangestu
15e2b7ec5b feat: add material_result field to CuttingMaterial and CuttingMaterialCombination; update validation rules and service logic to handle new material result calculations; enhance frontend components for displaying material results in cutting management
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (8.3) (push) Waiting to run
tests / ci (8.4) (push) Waiting to run
tests / ci (8.5) (push) Waiting to run
2026-07-04 23:14:37 +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
ba3f7ef9f9 feat: add CuttingMaterialCombination management with store and destroy functionalities; implement validation for combination requests; enhance CuttingService to handle draft combinations; update frontend components for combination handling and display 2026-07-04 21:54:01 +07:00
Yoga Pangestu
b52b9ce08c feat: implement transaction management in OrderService for create, update, delete, and status transition operations; refactor error handling for improved clarity; add comprehensive tests for order management functionalities to ensure proper permission checks and validation 2026-07-04 18:46:04 +07:00
Yoga Pangestu
8e306c8f73 feat: implement transaction management in CuttingService for create, update, delete, and status transition operations; refactor error handling for improved clarity; update routes to enhance cutting management functionality and ensure proper permission checks 2026-07-04 18:26:24 +07:00
Yoga Pangestu
6158a91060 feat: implement transaction management in PurchaseService for create, update, and delete operations; refactor error handling for improved clarity; enhance tests for purchase index and creation functionalities to ensure proper permission checks and validation 2026-07-04 17:53:56 +07:00
Yoga Pangestu
9d0075d7b2 feat: implement transaction management in RawMaterialService for create, update, delete, and toggle status operations; refactor error handling for improved clarity; enhance tests for raw material and price models to ensure proper functionality and validation 2026-07-04 17:32:06 +07:00
Yoga Pangestu
80e1542151 feat: implement transaction management in ProductService for create, update, delete, and toggle status operations; refactor error handling to improve clarity and maintainability; update routes to ensure proper permission checks and enhance product management functionality 2026-07-04 17:14:01 +07:00
Yoga Pangestu
37d9ac10a6 feat: refactor ProfileService to utilize transaction management and photo synchronization; enhance Profile.vue with computed properties; add comprehensive tests for profile update functionality, including validation and media handling 2026-07-04 14:07:22 +07:00
Yoga Pangestu
2b7208a0c4 feat: expand permission management for settings by introducing new permissions for system, social media, marketplace, HR, and homepage updates; refactor related controllers, requests, and services to utilize these permissions; enhance frontend components to support new permission checks and improve user experience 2026-07-04 13:37:26 +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
786d0fdb39 feat: implement transaction management in AttendanceService for check-in and check-out processes; refactor attendance date formatting in Attendance model; enhance AttendanceDetailDialog and Index components for improved UI and code clarity 2026-07-04 12:00:52 +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
c685f45bcf refactor: replace UpdateCashTransactionRequest with CashTransactionRequest in CashController; add ensureEditable method in CashTransaction model for validation; update CashService to use transaction handling methods; enhance CashTest descriptions for clarity 2026-07-03 23:44:42 +07:00
Yoga Pangestu
143448e6e0 feat: enhance Expense module by improving media upload handling, adding transaction management, and refining form validation; update related components for better user experience 2026-07-03 22:44:33 +07:00
Yoga Pangestu
bac44df627 feat: implement Customer API for creating customers, refactor existing CustomerController, and update routes for API integration 2026-07-03 16:14:41 +07:00
Yoga Pangestu
16fe9a3d9f refactor: remove redundant blank lines across all services and update dashboard imports 2026-06-28 17:33:46 +07:00
Yoga Pangestu
816c2a0e2a feat: overhaul POS management workflows including enhanced purchase, order, cutting, and stock-opname forms with updated master data handling. 2026-06-28 17:33:13 +07:00
Yoga Pangestu
1f27acc63a refactor: remove owner verification index functionality and related components, streamline approval and rejection processes 2026-06-27 21:51:48 +07:00
Yoga Pangestu
f6b5a78f4b feat: enhance user profile and employee management with profile photo handling and validation updates 2026-06-27 15:53:33 +07:00
Yoga Pangestu
21b990799e feat: implement owner verification system with enums, service, and controller updates for managing verification requests 2026-06-26 19:13:10 +07:00
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
bed9113269 refactor: improve activity log tests by directly asserting causer and properties instead of relying on database retrieval 2026-06-22 19:20:04 +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
8f67a09936 refactor: add createDeveloperUser function and test to exclude developer role users from employee index display 2026-06-22 18:43:25 +07:00
Yoga Pangestu
31fdfba2d1 refactor: optimize employee status management by refining toggleStatus method and ensuring it processes validated request data 2026-06-22 18:30:51 +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
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