diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json
index 0a67920b..986b8fed 100644
--- a/src/i18n/locales/en.json
+++ b/src/i18n/locales/en.json
@@ -1,5 +1,6 @@
{
"Add address": "Add address",
+ "An email will be sent to you when your item(s) are ready to collect at the new requested location(s).": "An email will be sent to you when your item(s) are ready to collect at the new requested location(s).",
"Are you sure you want to save the changes?": "Are you sure you want to save the changes?",
"Are you sure you want to cancel the order items?": "Are you sure you want to cancel the order items?",
"Cancel": "Cancel",
diff --git a/src/views/Order.vue b/src/views/Order.vue
index 1834ef36..498d80f0 100644
--- a/src/views/Order.vue
+++ b/src/views/Order.vue
@@ -77,6 +77,9 @@
{{ $t("Cancel") }}
+
+ {{ $t("An email will be sent to you when your item(s) are ready to collect at the new requested location(s).") }}
+
{{ $t("Order item not eligible for reroute fulfilment") }}
@@ -150,7 +153,8 @@ export default defineComponent({
name: 'Shipping',
value: 'STANDARD'
}
- ]
+ ],
+ isOrderUpdated: false
}
},
computed: {
@@ -286,6 +290,7 @@ export default defineComponent({
shipGroup.shipTo.postalAddress = shipGroup.updatedAddress
shipGroup.updatedAddress = null
showToast(translate("Changes saved"))
+ this.isOrderUpdated = true
} else {
showToast(translate("Failed to update the shipping addess"))
}
@@ -313,6 +318,7 @@ export default defineComponent({
if (resp.status === 200 && !hasError(resp)) {
shipGroup.facilityId = shipGroup.selectedFacility.facilityId
showToast(translate("Changes saved"))
+ this.isOrderUpdated = true
} else {
showToast(translate("Failed to update the pickup store"))
}