Commit Graph

18 Commits

Author SHA1 Message Date
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
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
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
ce553f9aed refactor: remove unused inventory stock warning components and service logic 2026-06-28 18:11:26 +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
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
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
ab03d5f0b9 refactor: streamline product management by removing unused components, enhancing form structure, and integrating category service for improved data handling 2026-06-20 23:54:17 +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
3308a3790a refactor: remove completed cuttings functionality from CuttingController and related components to streamline cutting management 2026-06-19 23:37:20 +07:00
Yoga Pangestu
5dc24b1494 feat: implement product approval workflow by adding verification, rejection, and approval functionalities, including UI updates and permission checks 2026-06-19 20:53:42 +07:00
Yoga Pangestu
2db6dfece9 feat: enhance cutting management by adding result prices handling, including validation and calculations for total material cost and cost per unit 2026-06-19 19:04:23 +07:00
Yoga Pangestu
67439af903 feat: add category filter to product index page 2026-06-14 02:54:06 +07:00
Yoga Pangestu
521e8c5538 Implement stock warning functionality for products and raw materials. Add minStock method to RawMaterialUnit enum and ProductVariant model. Enhance ProductService and RawMaterialService with stockWarningGroups method to identify items below minimum stock levels. Update admin index pages to display stock warning groups in MasterOutOfStockCatalogSection component. 2026-06-13 00:24:05 +07:00
Yoga Pangestu
c757b3c9b2 Update dependencies and enhance out-of-stock product management. Upgrade @lucide/vue to version 1.18.0 in package.json and package-lock.json. Implement outOfStockGroups method in ProductService and RawMaterialService to retrieve out-of-stock items. Add MasterOutOfStockCatalogSection component for displaying out-of-stock products in the admin interface, and integrate it into the products and raw materials index pages. 2026-06-13 00:09:27 +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
f8322566da Add media management features across various models and services. Implement media handling in Product, RawMaterial, Attendance, CashTransaction, EmployeeAdvance, and Expense models. Introduce ValidatesMediaUploads trait for consistent media validation in requests. Enhance services to support media synchronization and retrieval, improving user experience with image uploads and management. 2026-06-11 19:32:33 +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