From 5aae9be25505be9e1037dc906dd1f47dc4b9480d Mon Sep 17 00:00:00 2001 From: Dhiraj Nagar <119936391+Dhiraj1405@users.noreply.github.com> Date: Thu, 21 Mar 2024 16:58:58 +0530 Subject: [PATCH 1/6] Update actions.ts --- src/store/modules/order/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/order/actions.ts b/src/store/modules/order/actions.ts index 7a2b95f2..a2fe5334 100644 --- a/src/store/modules/order/actions.ts +++ b/src/store/modules/order/actions.ts @@ -48,7 +48,7 @@ const actions: ActionTree = { commit(types.ORDER_CURRENT_UPDATED, state.current ) showToast(translate("Scanned successfully.", { itemName: payload })) } else { - showToast(translate("Failed to scan:", { itemName: payload })) + showToast(translate("Scanned item is not present within the shipment:", { itemName: payload })) } }, async addOrderItem ({ commit }, payload) { From c91fce4a19b121c64a7fca211eb4970abe25c49d Mon Sep 17 00:00:00 2001 From: Dhiraj Nagar <119936391+Dhiraj1405@users.noreply.github.com> Date: Thu, 21 Mar 2024 17:00:08 +0530 Subject: [PATCH 2/6] Update actions.ts --- src/store/modules/return/actions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/modules/return/actions.ts b/src/store/modules/return/actions.ts index 8bdbb01c..f959b25d 100644 --- a/src/store/modules/return/actions.ts +++ b/src/store/modules/return/actions.ts @@ -40,7 +40,7 @@ const actions: ActionTree = { commit(types.RETURN_CURRENT_UPDATED, state); showToast(translate("Scanned successfully.", { itemName: payload })) } else { - showToast(translate("Failed to scan:", { itemName: payload })) + showToast(translate("Scanned item is not present within the shipment:", { itemName: payload })) } }, async setCurrent ({ commit, state }, payload) { @@ -199,4 +199,4 @@ const actions: ActionTree = { } } -export default actions; \ No newline at end of file +export default actions; From 66ea2b259633e89bf7da64d60fd4293ccf1b1757 Mon Sep 17 00:00:00 2001 From: Dhiraj Nagar <119936391+Dhiraj1405@users.noreply.github.com> Date: Thu, 21 Mar 2024 17:00:42 +0530 Subject: [PATCH 3/6] Update actions.ts --- src/store/modules/shipment/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/shipment/actions.ts b/src/store/modules/shipment/actions.ts index 88abc451..bc799480 100644 --- a/src/store/modules/shipment/actions.ts +++ b/src/store/modules/shipment/actions.ts @@ -50,7 +50,7 @@ const actions: ActionTree = { commit(types.SHIPMENT_CURRENT_UPDATED, state); showToast(translate("Scanned successfully.", { itemName: payload })) } else { - showToast(translate("Failed to scan:", { itemName: payload })) + showToast(translate("Scanned item is not present within the shipment:", { itemName: payload })) } }, async setCurrent ({ commit }, payload) { From dca6bac82c767d213942e3a2dfc42ceba7e27425 Mon Sep 17 00:00:00 2001 From: Dhiraj Nagar <119936391+Dhiraj1405@users.noreply.github.com> Date: Thu, 21 Mar 2024 17:03:40 +0530 Subject: [PATCH 4/6] Update en.json --- src/locales/en.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/locales/en.json b/src/locales/en.json index 75e5fc16..6833860a 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -89,6 +89,7 @@ "Scan ASN to start receiving": "Scan ASN to start receiving", "Scan barcodes to receive them": "Scan barcodes to receive them", "Scan items": "Scan items", + "Scanned item is not present within the shipment": "Scanned item is not present within the shipment: {itemName}", "Scanned successfully.": "Scanned {itemName} successfully.", "secondary identifier": "secondary identifier", "Search": "Search", @@ -127,4 +128,4 @@ "Version: ": "Version: {appVersion}", "You do not have permission to access this page": "You do not have permission to access this page", "ZeroQuantity": "ZeroQuantity" -} \ No newline at end of file +} From 6ce37d4defab62ae52f0201b9ea53e904bff4691 Mon Sep 17 00:00:00 2001 From: Dhiraj Nagar <119936391+Dhiraj1405@users.noreply.github.com> Date: Thu, 21 Mar 2024 18:49:15 +0530 Subject: [PATCH 5/6] Update en.json --- src/locales/en.json | 1 - 1 file changed, 1 deletion(-) diff --git a/src/locales/en.json b/src/locales/en.json index 6833860a..1671fce0 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -26,7 +26,6 @@ "Location": "Location", "Failed to receive shipment": "Failed to receive shipment", "Failed to receive some of the items": "Failed to receive some of the items", - "Failed to scan:": "Failed to scan: {itemName}", "Failed to update product identifier preference": "Failed to update product identifier preference", "facility location": "facility location", "Facility locations were not found corresponding to destination facility of return shipment. Please add facility locations to avoid receive return shipment failure.": "Facility locations were not found corresponding to destination facility of return shipment. Please add facility locations to avoid receive return shipment failure.", From c0626cd86ce97c6088b8ecfe4f4827d60441753e Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Thu, 21 Mar 2024 18:57:48 +0530 Subject: [PATCH 6/6] Update src/locales/en.json --- src/locales/en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locales/en.json b/src/locales/en.json index 1671fce0..97bf2b16 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -88,7 +88,7 @@ "Scan ASN to start receiving": "Scan ASN to start receiving", "Scan barcodes to receive them": "Scan barcodes to receive them", "Scan items": "Scan items", - "Scanned item is not present within the shipment": "Scanned item is not present within the shipment: {itemName}", + "Scanned item is not present within the shipment:": "Scanned item is not present within the shipment: {itemName}", "Scanned successfully.": "Scanned {itemName} successfully.", "secondary identifier": "secondary identifier", "Search": "Search",