From d268615f0d0712f5c160744686c70e6319605677 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 22 Nov 2021 22:26:39 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 4 ++++ ayanova/src/components/pm-item-parts.vue | 8 ++++---- ayanova/src/components/quote-item-parts.vue | 8 ++++---- ayanova/src/components/work-order-item-parts.vue | 8 ++++---- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 75a53412..6e5dbe45 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -27,6 +27,10 @@ Currently doing global settings doc page, but should probably move to below item todo: Urgent - combine part number / name into single Name field, translate as "Part" simply and use key PartName still there is a case (maybe 4025) about this and thoughts on how to migrate etc + BROKEN ITEMS: + workorder item parts shows name in wrong place and empty part column, probably quote and pm as well + + todo: alternateive to "zExampleReport" naming to push to bottom, find out of can ditch the z for something nicer like a unicode symbol or emoji or whatever appears at end and isn't a z Use lightbulb symbol emoji 💡 diff --git a/ayanova/src/components/pm-item-parts.vue b/ayanova/src/components/pm-item-parts.vue index 1cbddad8..e3bbbc26 100644 --- a/ayanova/src/components/pm-item-parts.vue +++ b/ayanova/src/components/pm-item-parts.vue @@ -908,7 +908,7 @@ export default { headers.push({ text: this.$ay.t("WorkOrderItemPartPartID"), align: "left", - value: "partViz" + value: "partNameViz" }); } @@ -940,11 +940,11 @@ export default { }); } - if (this.form().showMe(this, "PartName")) { + if (this.form().showMe(this, "PartDescription")) { headers.push({ - text: this.$ay.t("PartName"), + text: this.$ay.t("PartDescription"), align: "left", - value: "partNameViz" + value: "partDescriptionViz" }); } diff --git a/ayanova/src/components/quote-item-parts.vue b/ayanova/src/components/quote-item-parts.vue index 2b1800cf..64ebf94a 100644 --- a/ayanova/src/components/quote-item-parts.vue +++ b/ayanova/src/components/quote-item-parts.vue @@ -863,7 +863,7 @@ export default { headers.push({ text: this.$ay.t("WorkOrderItemPartPartID"), align: "left", - value: "partViz" + value: "partNameViz" }); } @@ -887,11 +887,11 @@ export default { }); } - if (this.form().showMe(this, "PartName")) { + if (this.form().showMe(this, "PartDescription")) { headers.push({ - text: this.$ay.t("PartName"), + text: this.$ay.t("PartDescription"), align: "left", - value: "partNameViz" + value: "partDescriptionViz" }); } diff --git a/ayanova/src/components/work-order-item-parts.vue b/ayanova/src/components/work-order-item-parts.vue index e9942c3d..5841bf2f 100644 --- a/ayanova/src/components/work-order-item-parts.vue +++ b/ayanova/src/components/work-order-item-parts.vue @@ -928,7 +928,7 @@ export default { headers.push({ text: this.$ay.t("WorkOrderItemPartPartID"), align: "left", - value: "partViz" + value: "partNameViz" }); } @@ -960,11 +960,11 @@ export default { }); } - if (this.form().showMe(this, "PartName")) { + if (this.form().showMe(this, "PartDescription")) { headers.push({ - text: this.$ay.t("PartName"), + text: this.$ay.t("PartDescription"), align: "left", - value: "partNameViz" + value: "partDescriptionViz" }); }