diff --git a/src/views/order-popover.vue b/src/views/order-popover.vue index 2cf6d1b5..20c56bff 100644 --- a/src/views/order-popover.vue +++ b/src/views/order-popover.vue @@ -38,7 +38,7 @@ export default defineComponent({ orderId: item.orderId, orderItemSeqId: item.orderItemSeqId, changeReasonEnumId: "RELEASED", - toFacilityId: this.currentEComStore.productStoreId === "SM_STORE" || this.currentEComStore.productStoreId === "BJUS_STORE" ? "RELEASED_ORD_PARKING" : "_NA_" // TODO Make it configurable + toFacilityId: this.currentEComStore.productStoreId === "SM_STORE" || this.currentEComStore.productStoreId === "DV_STORE" || this.currentEComStore.productStoreId === "BJ_STORE" ? "RELEASED_ORD_PARKING" : "_NA_" // TODO Make it configurable }) }, async cancelItem (item: any) { diff --git a/src/views/orders.vue b/src/views/orders.vue index b3b8a92f..12d1f364 100644 --- a/src/views/orders.vue +++ b/src/views/orders.vue @@ -320,7 +320,7 @@ export default defineComponent({ }, async releaseItems() { emitter.emit("presentLoader") - const selectedItems = this.getSelectedItemsToRelease(this.currentEComStore.productStoreId === "SM_STORE" || this.currentEComStore.productStoreId === "BJUS_STORE" ? "RELEASED_ORD_PARKING" : "_NA_", "RELEASED"); // TODO Make it configurable + const selectedItems = this.getSelectedItemsToRelease(this.currentEComStore.productStoreId === "SM_STORE" || this.currentEComStore.productStoreId === "DV_STORE" || this.currentEComStore.productStoreId === "BJ_STORE" ? "RELEASED_ORD_PARKING" : "_NA_", "RELEASED"); // TODO Make it configurable const json = JSON.stringify(selectedItems); const blob = new Blob([json], { type: 'application/json'}); const formData = new FormData(); diff --git a/src/views/product-details.vue b/src/views/product-details.vue index be7d0f41..3372ca52 100644 --- a/src/views/product-details.vue +++ b/src/views/product-details.vue @@ -436,7 +436,7 @@ export default defineComponent({ orderId: item.orderId, orderItemSeqId: item.orderItemSeqId, changeReasonEnumId: "RELEASED", - toFacilityId: this.currentEComStore.productStoreId === "SM_STORE" || this.currentEComStore.productStoreId === "BJUS_STORE" ? "RELEASED_ORD_PARKING" : "_NA_" // TODO Make it configurable + toFacilityId: this.currentEComStore.productStoreId === "SM_STORE" || this.currentEComStore.productStoreId === "DV_STORE" || this.currentEComStore.productStoreId === "BJ_STORE" ? "RELEASED_ORD_PARKING" : "_NA_" // TODO Make it configurable } }) selectedItems = [...selectedItems, ...items];