Skip to content

Commit

Permalink
Improved: showing matching status in the products list items and adde…
Browse files Browse the repository at this point in the history
…d entry in locales (#528)
  • Loading branch information
amansinghbais committed Dec 24, 2024
1 parent 296833f commit e294b11
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"Any edits made in the counted quantity on this page will be lost.": "Any edits made in the counted quantity on this page will be lost.",
"Add product": "Add product",
"Add to count": "Add to count",
"Add to existing count": "Add to existing count",
"Added product to count": "Added product to count",
"App": "App",
"Assigned count": "Assigned count",
Expand Down Expand Up @@ -163,6 +164,7 @@
"Map all required fields": "Map all required fields",
"Mapping name": "Mapping name",
"Match product": "Match product",
"matching...": "matching...",
"Name - A to Z": "Name - A to Z",
"Name - Z to A": "Name - Z to A",
"New Count": "New Count",
Expand All @@ -173,6 +175,7 @@
"No items found": "No items found",
"No new file upload. Please try again.": "No new file upload. Please try again.",
"No products found.": "No products found.",
"no match found": "no match found",
"No new file upload. Please try again": "No new file upload. Please try again",
"No rejection history": "No rejection history",
"No results found": "No results found",
Expand Down Expand Up @@ -228,6 +231,7 @@
"Re-assign": "Re-assign",
"Re-submitted": "Re-submitted",
"Remove from count": "Remove from count",
"Replace existing count": "Replace existing count",
"Review count": "Review count",
"rejected counts": "rejected counts",
"Require barcode scanning": "Require barcode scanning",
Expand Down Expand Up @@ -305,6 +309,7 @@
"Time zone updated successfully": "Time zone updated successfully",
"Total variance": "Total variance",
"total variance": "total variance",
"UNMATCHED": "UNMATCHED",
"Update": "Update",
"Update count": "Update count",
"Upload count": "Upload count",
Expand Down
2 changes: 1 addition & 1 deletion src/views/HardCountDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
<ion-item>
<ion-radio justify="start" label-placement="end" value="add">
<ion-label>
{{ translate("Add to existing count") }}
{{ transl0ate("Add to existing count") }}
</ion-label>
</ion-radio>
</ion-item>
Expand Down
1 change: 1 addition & 0 deletions src/views/ProductItemList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
</ion-label>
<ion-label class="ion-text-wrap" v-else>
<h2>{{ item.scannedId }}</h2>
<p>{{ translate(item.isMatching ? "matching..." : "no match found") }}</p>
</ion-label>
<ion-badge slot="end" color="danger" v-if="item.itemStatusId === 'INV_COUNT_REJECTED'">
{{ (!item.quantity && item.quantity !== 0) ? translate("not counted") : translate("units", { count: item.quantity }) }}
Expand Down

0 comments on commit e294b11

Please sign in to comment.