diff --git a/ayanova/src/components/work-order-item-units.vue b/ayanova/src/components/work-order-item-units.vue
index aebecf29..3646c2f5 100644
--- a/ayanova/src/components/work-order-item-units.vue
+++ b/ayanova/src/components/work-order-item-units.vue
@@ -409,17 +409,79 @@ export default {
"purchaseReceiptNumber":"139736",
"lifeTimeWarranty":false,
"warrantyExpiryDate":"2019-04-12T09:37:52.930923Z",
- "warrantyTerms":"Shipping parts and service"} */
+ "warrantyTerms":"Shipping parts and service"}
+
+ "UnitPurchasedDate": "Purchased Date",
+ "UnitPurchaseFromID": "Purchased From",
+ "UnitReceipt": "Receipt Number",
+ */
+ const r = res.data;
+
+ let Warranty = `${this.$ay.t("Warranty")}:`;
+ let WarrantyExpiryInfo = "-";
+ if (r.lifeTimeWarranty) {
+ WarrantyExpiryInfo = this.$ay.t("UnitModelLifeTimeWarranty");
+ } else {
+ if (r.warrantyExpiryDate) {
+ WarrantyExpiryInfo = `${this.$ay.t(
+ "WarrantyExpires"
+ )}: ${window.$gz.locale.utcDateToShortDateAndTimeLocalized(
+ r.warrantyExpiryDate,
+ this.pvm.timeZoneName,
+ this.pvm.languageName,
+ this.pvm.hour12
+ )}`;
+ }
+ }
+ Warranty += WarrantyExpiryInfo;
+
+ let PurchasedFrom = "-";
+ if (r.purchaseFromVendorId) {
+ PurchasedFrom = ` ${r.purchaseFromVendor}`;
+ }
+ let PurchasedDate = "-";
+ if (r.purchaseDate) {
+ PurchasedDate = window.$gz.locale.utcDateToShortDateAndTimeLocalized(
+ r.purchaseDate,
+ this.pvm.timeZoneName,
+ this.pvm.languageName,
+ this.pvm.hour12
+ );
+ }
+ let PurchaseInfo = `${this.$ay.t(
+ "UnitPurchaseFromID"
+ )}: ${PurchasedFrom}
${this.$ay.t(
+ "UnitPurchasedDate"
+ )}: ${PurchasedDate}
${this.$ay.t(
+ "UnitReceipt"
+ )}: ${r.purchaseReceiptNumber ?? "-"}`;
+
+ let RecentWorkOrderList = "";
+ if (r.recentWorkOrders.length > 0) {
+ RecentWorkOrderList += "
";
+ r.recentWorkOrders.forEach(x => {
+ RecentWorkOrderList += ` ${
+ x.serial
+ }${window.$gz.locale.utcDateToShortDateAndTimeLocalized(
+ x.serviceDate,
+ this.pvm.timeZoneName,
+ this.pvm.languageName,
+ this.pvm.hour12
+ )}
`;
+ });
+ } else {
+ RecentWorkOrderList = "-";
+ }
+
+ let RecentWorkOrders = `${this.$ay.t(
+ "RecentWorkOrders"
+ )}:${RecentWorkOrderList}`;
+
+ let d = `