From bcd6d98f04f5cc9984b2f04dcc999608b5c39481 Mon Sep 17 00:00:00 2001 From: Ravi Lodhi Date: Tue, 19 Nov 2024 18:43:53 +0530 Subject: [PATCH 1/3] Improved: Added logic to handle kit (#463). --- src/components/ProductListItem.vue | 44 ++++++++++++++++++++++++++-- src/services/ProductService.ts | 10 ++++++- src/store/modules/order/actions.ts | 43 ++++++++++++++++++--------- src/store/modules/product/actions.ts | 44 ++++++++++++++++++++++++++++ src/utils/order.ts | 39 +++++++++++++++++++++++- src/views/Orders.vue | 2 +- 6 files changed, 162 insertions(+), 20 deletions(-) diff --git a/src/components/ProductListItem.vue b/src/components/ProductListItem.vue index 630ba2a45..ddb54cccb 100644 --- a/src/components/ProductListItem.vue +++ b/src/components/ProductListItem.vue @@ -9,6 +9,11 @@
+ + + + +
{{ translate("on hand", { count: getProductStock(item.productId).quantityOnHandTotal ?? '0' }) }} @@ -21,24 +26,49 @@
+ + +