diff --git a/src/locales/en.json b/src/locales/en.json
index c3e64c5f..77595be1 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -67,6 +67,7 @@
"Open": "Open",
"ordered": "ordered",
"Orders not found": "Orders not found",
+ "/ received": "{receivedCount} / {orderedCount} received",
"Password": "Password",
"Pending: item": "Pending: {itemsCount} item",
"Pending: items": "Pending: {itemsCount} items",
diff --git a/src/views/PurchaseOrderDetail.vue b/src/views/PurchaseOrderDetail.vue
index ce80f448..eb088ad9 100644
--- a/src/views/PurchaseOrderDetail.vue
+++ b/src/views/PurchaseOrderDetail.vue
@@ -135,8 +135,8 @@
- {{ item.quantity }} {{ translate("ordered") }}
- {{ getPOItemAccepted(item.productId) }} {{ translate("received") }}
+ {{ translate("/ received", { receivedCount: getPOItemAccepted(item.productId), orderedCount: item.quantity }) }}
+
@@ -180,7 +180,7 @@ import {
modalController
} from '@ionic/vue';
import { defineComponent, computed } from 'vue';
-import { addOutline, cameraOutline, checkmarkDone, copyOutline, eyeOffOutline, eyeOutline, locationOutline, saveOutline, timeOutline } from 'ionicons/icons';
+import { addOutline, cameraOutline, checkmarkDone, checkmarkDoneCircleOutline, copyOutline, eyeOffOutline, eyeOutline, locationOutline, saveOutline, timeOutline, warningOutline } from 'ionicons/icons';
import ReceivingHistoryModal from '@/views/ReceivingHistoryModal.vue'
import { DxpShopifyImg, translate, getProductIdentificationValue, useProductIdentificationStore } from '@hotwax/dxp-components';
import { useStore, mapGetters } from 'vuex';
@@ -422,6 +422,7 @@ export default defineComponent({
addOutline,
cameraOutline,
checkmarkDone,
+ checkmarkDoneCircleOutline,
copyOutline,
copyToClipboard,
eyeOffOutline,
@@ -435,6 +436,7 @@ export default defineComponent({
translate,
getProductIdentificationValue,
productIdentificationPref,
+ warningOutline
};
},
});
diff --git a/src/views/ShipmentDetails.vue b/src/views/ShipmentDetails.vue
index f2a9fe55..ef39cecb 100644
--- a/src/views/ShipmentDetails.vue
+++ b/src/views/ShipmentDetails.vue
@@ -61,8 +61,8 @@
- {{ item.quantityOrdered }} {{ translate("ordered") }}
- {{ item.quantityAccepted }} {{ translate("received") }}
+ {{ translate("/ received", { receivedCount: item.quantityAccepted, orderedCount: item.quantityOrdered }) }}
+
@@ -115,7 +115,7 @@ import {
alertController,
} from '@ionic/vue';
import { defineComponent, computed } from 'vue';
-import { add, checkmarkDone, cameraOutline, locationOutline } from 'ionicons/icons';
+import { add, checkmarkDone, checkmarkDoneCircleOutline, cameraOutline, locationOutline, warningOutline } from 'ionicons/icons';
import { mapGetters, useStore } from "vuex";
import AddProductModal from '@/views/AddProductModal.vue'
import { DxpShopifyImg, translate, getProductIdentificationValue, useProductIdentificationStore } from '@hotwax/dxp-components';
@@ -333,13 +333,15 @@ export default defineComponent({
add,
cameraOutline,
checkmarkDone,
+ checkmarkDoneCircleOutline,
hasPermission,
locationOutline,
store,
router,
translate,
getProductIdentificationValue,
- productIdentificationPref
+ productIdentificationPref,
+ warningOutline
};
},
});