From 478e872ce95effcaca33de83f4906faa4c5c286a Mon Sep 17 00:00:00 2001 From: amansinghbais Date: Tue, 15 Oct 2024 11:26:54 +0530 Subject: [PATCH] Improved: appending quantityReceived field in the newly added product (#396) --- src/store/modules/shipment/actions.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/store/modules/shipment/actions.ts b/src/store/modules/shipment/actions.ts index 0282ecf9..7eb7f5ed 100644 --- a/src/store/modules/shipment/actions.ts +++ b/src/store/modules/shipment/actions.ts @@ -167,7 +167,8 @@ const actions: ActionTree = { const product = { ...item, quantityAccepted: 0, - quantityOrdered: 0 + quantityOrdered: 0, + quantityReceived: 0 } const params = { orderId: payload.orderId,