Skip to content

Commit

Permalink
Merge pull request #291 from ymaheshwari1/#290
Browse files Browse the repository at this point in the history
Improved: toFacilityId when releasing items manually from the app(#290)
  • Loading branch information
ymaheshwari1 authored Sep 24, 2024
2 parents 517f2e2 + 7a5cac9 commit 2e7220d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit 2e7220d

Please sign in to comment.