Commit Graph

19 Commits

Author SHA1 Message Date
Yoga Pangestu
f83def0e8a perf: implement batch-fetching for variant prices to optimize query performance in OrderService and HomeController 2026-06-22 12:40:58 +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
ad73e8237c refactor: update storePriceTypeOptions to exclude HARGA_MODAL from available price types for improved pricing logic 2026-06-21 16:06:14 +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
ee8949947f feat: add order detail view and service method for enhanced order management and user experience 2026-06-20 19:07:40 +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
fe7a3e4813 feat: add shipping cost field to order management, including validation, formatting, and UI updates 2026-06-18 01:33:35 +07:00
Yoga Pangestu
1af4af70fa feat: add is_affiliate field to order management, including validation, database migration, and UI updates 2026-06-18 00:57:47 +07:00
Yoga Pangestu
191743632b feat: introduce PaymentType enum and integrate payment type selection in order management, including validation and UI updates 2026-06-18 00:33:39 +07:00
Yoga Pangestu
c86af4ab91 feat: add tiktok_order_id and shopee_order_id fields to order management, including validation, display, and search functionality 2026-06-17 23:18:06 +07:00
Yoga Pangestu
69d2212d64 refactor: restrict marketing role permissions and add employee advances and payroll access 2026-06-14 16:43:46 +07:00
Yoga Pangestu
4f23af869f feat: add stock availability validation during order processing and display specific error messages in POS form 2026-06-14 02:59:29 +07:00
Yoga Pangestu
c22252f44c feat: implement push notification system with web-push integration and subscription management 2026-06-14 00:08:06 +07:00
Yoga Pangestu
c30fe015e2 Refactor order service to utilize new marketplace snapshot structure. Update create and update methods to call buildOrderSnapshot with total amount and line items for improved fee calculation. Introduce lineItemsForSnapshot method for consistent item formatting in snapshots. 2026-06-13 01:27:53 +07:00
Yoga Pangestu
584387504c Refactor order management to remove marketplace fee handling. Update OrderRequest, Order model, and related services to utilize marketplace settings snapshot instead. Adjust frontend components and TypeScript types accordingly for consistency in order processing. 2026-06-13 00:56:24 +07:00
Yoga Pangestu
64088c82bb Refactor order and payroll models to replace 'net_amount' with 'total_amount'. Update related methods, migrations, factories, and frontend components to ensure consistent handling of total amounts across the application. 2026-06-13 00:31:53 +07:00
Yoga Pangestu
4c91834389 Enhance order and purchase management by implementing draft item functionality. Update OrderController and PurchaseController to handle draft items for users, allowing for better cart management. Refactor OrderService and PurchaseService to include methods for syncing and removing draft items. Update related request classes and models to support user associations. Modify frontend components to restore draft items and synchronize quantities, improving user experience during order and purchase creation. 2026-06-12 23:33:17 +07:00
Yoga Pangestu
7a0ac4f4d1 Add order management features including Order and OrderItem models, OrderController for CRUD operations, and request validation. Implement OrderChannel and OrderStatus enums for order categorization and status management. Enhance sidebar navigation for orders and integrate UI components for creating, editing, and listing orders, along with permissions in the Permission and Role enums. 2026-06-12 10:34:50 +07:00