Skip to content

Commit

Permalink
Improved: method name for checking fulfilled items (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Dec 6, 2023
1 parent c897add commit d2b208a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ClosePurchaseOrderModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default defineComponent({
getPOItems() {
return this.order.items.filter((item: any) => item.orderId)
},
getAlreadyFulfilledItems() {
checkAlreadyFulfilledItems() {
this.order.items.map((item: any) => {
if(this.isPOItemStatusPending(item) && this.getPOItemAccepted(item.productId) >= item.quantity) {
item.isChecked = true;
Expand All @@ -174,7 +174,7 @@ export default defineComponent({
}
},
mounted() {
this.getAlreadyFulfilledItems()
this.checkAlreadyFulfilledItems()
},
setup() {
const router = useRouter()
Expand Down

0 comments on commit d2b208a

Please sign in to comment.