Skip to content

Commit

Permalink
Improved: toast message while searching item in case of completed shi…
Browse files Browse the repository at this point in the history
…pments (#380)
  • Loading branch information
amansinghbais committed Nov 6, 2024
1 parent 7c35a4a commit 89b0110
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
"Scanned item is not present within the shipment:": "Scanned item is not present within the shipment: {itemName}",
"Scanned successfully.": "Scanned {itemName} successfully.",
"Search items": "Search items",
"Searched item is not present within the shipment:": "Scanned item is not present within the shipment: {itemName}",
"secondary identifier": "secondary identifier",
"Secondary identifier": "Secondary identifier",
"Search": "Search",
Expand Down
2 changes: 1 addition & 1 deletion src/views/PurchaseOrderDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ export default defineComponent({
this.lastScannedId = ''
}, 3000)
} else {
showToast(translate("Scanned item is not present within the shipment:", { itemName: this.queryString }));
showToast(translate("Searched item is not present within the shipment:", { itemName: this.queryString }));
}
this.queryString = ''
},
Expand Down
2 changes: 1 addition & 1 deletion src/views/ReturnDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export default defineComponent({
this.lastScannedId = ''
}, 3000)
} else {
showToast(translate("Scanned item is not present within the shipment:", { itemName: this.queryString }));
showToast(translate("Searched item is not present within the shipment:", { itemName: this.queryString }));
}
this.queryString = ''
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/ShipmentDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ export default defineComponent({
this.lastScannedId = ''
}, 3000)
} else {
showToast(translate("Scanned item is not present within the shipment:", { itemName: this.queryString }));
showToast(translate("Searched item is not present within the shipment:", { itemName: this.queryString }));
}
this.queryString = ''
}
Expand Down

0 comments on commit 89b0110

Please sign in to comment.