Yoga Pangestu
cf5b300895
Refactor product status management: replace is_active with status enum
...
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
c8344f27cb
feat: enhance product and raw material request validation by adding imagesRequired parameter, improving image handling based on request method
2026-07-13 12:47:35 +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
c222be62d3
refactor: standardize attribute labels across various request files for consistency and clarity
2026-07-05 22:04:57 +07:00
Yoga Pangestu
5a96b48725
feat: implement quick-create functionality for raw materials and products in Cutting module; enhance CuttingController and related components to support new features and improve user experience
2026-07-02 12:04:30 +07:00
Yoga Pangestu
47289d158e
feat: update ProductRequest and related components to conditionally handle price fields based on user roles; enhance form behavior for better variant price management
2026-07-02 10:44:47 +07:00
Yoga Pangestu
4a647cb3e6
feat: enhance product variant management by adding price fields and functionality for copying, pasting, and applying prices across variants
2026-07-01 17:28:31 +07:00
Yoga Pangestu
8f66502f25
feat: implement retail stock transfer functionality with new controller, request validation, and service logic, while updating related models and UI components
2026-06-28 22:57:07 +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
8146da86c6
feat: add stock ecer transfer functionality with new controller, service, and frontend modal integration
2026-06-28 10:42:57 +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
0b4418862d
feat: implement PhoneNumber validation rule across multiple request classes to ensure consistent phone number formatting
2026-06-19 21:37:08 +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
e77f0ebc8a
Refactor price handling in product and raw material requests, models, and migrations to use integers instead of decimals. Update validation rules and data types in related TypeScript files for consistency across the application.
2026-06-12 23:37: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
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
426d7ed61c
Add customer management features including Customer model, CustomerController for CRUD operations, and CustomerRequest for validation. Integrate permissions in the Permission and Role enums, and update routes for customer management. Enhance UI components for customer listing and management, including a data table and form modal. Update sidebar for customer navigation.
2026-06-10 15:49:03 +07:00
Yoga Pangestu
c21f71563f
Add supplier management features including Supplier model, SupplierController for CRUD operations, and SupplierRequest for validation. Integrate permissions in the Permission and Role enums, and update routes for supplier management. Enhance UI components for supplier listing and management, including a data table and form modal. Update sidebar for supplier navigation.
2026-06-10 15:48:34 +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