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
1c4f82529c
feat: enhance stock formatting methods in Product and RawMaterial models to handle unloaded relations gracefully
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 13:11:19 +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
393c36e932
refactor: reorganize model structure and enhance attribute handling across multiple models, including improved casting, scope definitions, and attribute formatting
2026-06-28 14:47:19 +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
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
3e5ffef2d8
feat: implement DashboardService and refactor active scope usage in services
2026-06-22 11:48:13 +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
21adde11fd
style: refine layout and formatting in Index.vue for improved readability and consistency
2026-06-20 21:48:26 +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
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
1d1f0e7941
Add activity logging features by integrating Spatie's laravel-activitylog package. Update Permission and Role enums to include activity log permissions. Implement activity logging in Login and Logout controllers. Enhance sidebar navigation to include activity logs section. Update models to interact with activity logs through InteractsWithActivityLog concern.
2026-06-12 11:10:36 +07:00
Yoga Pangestu
448ac63260
Add product management features including Product, ProductVariant, and ProductPrice models. Implement ProductController for CRUD operations, integrate permissions in Role and Permission enums, and enhance UI components for product listing and management. Introduce new migrations for products and related entities, and update sidebar for product navigation.
2026-06-10 02:29:46 +07:00