From 1baad68240c2f99bb54030e1710df750e5892d96 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 9 Jul 2021 17:12:40 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 7 +++-- .../src/components/work-order-item-units.vue | 31 +++++++++++++++++++ 2 files changed, 35 insertions(+), 3 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 6407a959..22a1d833 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -428,9 +428,10 @@ CURRENTLY DOING: Two items below for Joyce, then do a build and release todo 1: Add some hideable fields to wo form data tables to further identify parts and units beyond the picklist description woitemUnit - Model - Manufacturer - Description + UnitModelModelNumber + UnitModelVendorID + UnitModelName + UnitDescription todo: add new sample report templates emailed by Joyce diff --git a/ayanova/src/components/work-order-item-units.vue b/ayanova/src/components/work-order-item-units.vue index 0aaf653b..3708aa56 100644 --- a/ayanova/src/components/work-order-item-units.vue +++ b/ayanova/src/components/work-order-item-units.vue @@ -687,6 +687,37 @@ export default { }); } + if (this.form().showMe(this, "UnitModelModelNumber")) { + headers.push({ + text: this.$ay.t("UnitModelModelNumber"), + align: "left", + value: "unitModelModelNumberViz" + }); + } + if (this.form().showMe(this, "UnitModelVendorID")) { + headers.push({ + text: this.$ay.t("UnitModelVendorID"), + align: "left", + value: "unitModelVendorViz" + }); + } + + if (this.form().showMe(this, "UnitModelName")) { + headers.push({ + text: this.$ay.t("UnitModelName"), + align: "left", + value: "unitModelNameViz" + }); + } + + if (this.form().showMe(this, "UnitDescription")) { + headers.push({ + text: this.$ay.t("UnitDescription"), + align: "left", + value: "unitDescriptionViz" + }); + } + if (this.form().showMe(this, "WorkOrderItemUnitNotes")) { headers.push({ text: this.$ay.t("WorkOrderItemUnitNotes"),