Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/hotwax/fulfillment-pwa into #…
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Dec 18, 2024
2 parents 803b336 + 80fdefe commit fd6e4f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/OrderLookupLabelActionsPopover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default defineComponent({
if(!shipmentIds.includes(shipmentPackage.shipmentId)) {
shipmentIds.push(shipmentPackage.shipmentId)
}
shippingLabelPdfUrls.push(shipmentPackage.labelImageUrl)
shipmentPackage.labelImageUrl && shippingLabelPdfUrls.push(shipmentPackage.labelImageUrl)
})
await OrderService.printShippingLabel(shipmentIds, shippingLabelPdfUrls)
Expand Down
6 changes: 3 additions & 3 deletions src/views/OrderDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1638,7 +1638,7 @@ export default defineComponent({
modal.onDidDismiss().then((result: any) => {
if(result.data?.packOrder) {
this.packOrder(order);
this.packOrder(this.order);
}
})
Expand All @@ -1652,8 +1652,8 @@ export default defineComponent({
modal.onDidDismiss().then((result: any) => {
if(result.data?.moveToNext) {
if(this.isForceScanEnabled) this.scanOrder(order);
else this.packOrder(order);
if(this.isForceScanEnabled) this.scanOrder(this.order);
else this.packOrder(this.order);
}
})
Expand Down

0 comments on commit fd6e4f8

Please sign in to comment.