Skip to content

Commit

Permalink
Fixed: using scannedCount in condition for pending item status (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Jan 9, 2025
1 parent 5d4bd3c commit 0f9f4b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/ProductItemList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<ion-badge slot="end" v-else-if="item.statusId === 'INV_COUNT_ASSIGNED' && ((item.quantity !== undefined && item.quantity !== null) || (item.scannedCount !== undefined && item.scannedCount !== null && item.scannedCount !== ''))">
{{ translate("units", { count: isItemAlreadyAdded(item) ? item.quantity : item.scannedCount }) }}
</ion-badge>
<ion-note v-else-if="(item.quantity === undefined || item.quantity === null || item.quantity === '') && item.statusId === 'INV_COUNT_ASSIGNED'">
<ion-note v-else-if="(item.quantity === undefined || item.quantity === null || item.scannedCount === '') && item.statusId === 'INV_COUNT_ASSIGNED'">
{{ translate("pending") }}
</ion-note>
<ion-note v-else-if="item.quantity >= 0 && item.statusId === 'INV_COUNT_REVIEW'">
Expand Down

0 comments on commit 0f9f4b8

Please sign in to comment.