Skip to content

Commit

Permalink
Merge pull request #334 from amansinghbais/330-shipment-detail-item-c…
Browse files Browse the repository at this point in the history
…omponent

Improved: added the shipped text to be shown with quantity ordered count in item card (#330)
  • Loading branch information
ymaheshwari1 authored Feb 21, 2024
2 parents 1351d02 + 2295b05 commit f606356
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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 @@
"Shipments": "Shipments",
"Shipments not found": "Shipments not found",
"Shipped": "Shipped",
"shipped": "shipped",
"Shop eCommerce": "Shop eCommerce",
"Something went wrong": "Something went wrong",
"Something went wrong while login. Please contact administrator": "Something went wrong while login. Please contact administrator.",
Expand Down
2 changes: 1 addition & 1 deletion src/views/ShipmentDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

<ion-progress-bar :color="getRcvdToOrdrdFraction(item) > 1 ? 'danger' : 'primary'" :value="getRcvdToOrdrdFraction(item)" />

<p slot="end">{{ item.quantityOrdered }}</p>
<p slot="end">{{ item.quantityOrdered }} {{ translate("shipped") }}</p>
</ion-item>
</ion-card>
</main>
Expand Down

0 comments on commit f606356

Please sign in to comment.