Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved: toFacilityId when releasing items manually from the app(#290) #291

Merged
merged 7 commits into from
Sep 24, 2024
2 changes: 1 addition & 1 deletion src/views/order-popover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default defineComponent({
orderId: item.orderId,
orderItemSeqId: item.orderItemSeqId,
changeReasonEnumId: "RELEASED",
toFacilityId: "_NA_" // TODO Make it configurable
toFacilityId: "RELEASED_ORD_PARKING" // TODO Make it configurable
})
},
async cancelItem (item: any) {
Expand Down
2 changes: 1 addition & 1 deletion src/views/orders.vue
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ export default defineComponent({
},
async releaseItems() {
emitter.emit("presentLoader")
const selectedItems = this.getSelectedItemsToRelease("_NA_", "RELEASED"); // TODO Make it configurable
const selectedItems = this.getSelectedItemsToRelease("RELEASED_ORD_PARKING", "RELEASED"); // TODO Make it configurable
const json = JSON.stringify(selectedItems);
const blob = new Blob([json], { type: 'application/json'});
const formData = new FormData();
Expand Down
2 changes: 1 addition & 1 deletion src/views/product-details.vue
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ export default defineComponent({
orderId: item.orderId,
orderItemSeqId: item.orderItemSeqId,
changeReasonEnumId: "RELEASED",
toFacilityId: "_NA_" // TODO Make it configurable
toFacilityId: "RELEASED_ORD_PARKING" // TODO Make it configurable
}
})
selectedItems = [...selectedItems, ...items];
Expand Down
Loading