Yoga Pangestu
9089b32d7b
refactor: streamline variant and price loading in product-related services
...
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
- Removed unnecessary ordering by 'created_at' in variant loading across multiple services and models.
- Implemented global scopes for ordering product variants and raw material prices by 'name' and 'variant', respectively.
- Enhanced code readability and maintainability by simplifying query structures in ProductController, OrderService, and others.
2026-07-29 15:06:16 +07:00
Yoga Pangestu
d74d120a6c
feat: refactor stock mutation relationships in ProductVariant and RawMaterialPrice models
2026-07-27 22:46:25 +07:00
Yoga Pangestu
562c5721dd
feat: add checkVariantUsage endpoint and implement price usage validation in RawMaterial management
2026-07-27 19:02:54 +07:00
Yoga Pangestu
03ea092d39
feat: add product ID filter to product index page and update pagination logic
2026-07-19 17:38:46 +07:00
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
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
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
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
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
dc594c9daa
feat: enhance raw material filtering and selection in RawMaterialController and related components for improved data management
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-07 10:37:13 +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
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
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
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
98e3ffefc7
feat: enhance raw material management with stock status filtering and improved form structure
2026-06-20 22:46:16 +07:00
Yoga Pangestu
3d2d51f85e
refactor: rename 'Pemasok' to 'Supplier' in SupplierController and remove unused supplier-related components for cleaner code structure
2026-06-20 22:13:21 +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
3a8cb727fa
feat: implement API endpoint for customer creation and enhance order form with quick customer creation modal
2026-06-18 01:08:09 +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
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