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"),