This commit is contained in:
2021-04-15 17:46:37 +00:00
parent 24da5947f4
commit ff56c48899
2 changed files with 11 additions and 1 deletions

View File

@@ -228,6 +228,14 @@ and it's probably not a big list to fill anyway
*/ */
let headers = []; let headers = [];
if (this.form().showMe(this, "Items.Sequence")) {
headers.push({
text: this.$ay.t("Sequence"),
align: "left",
value: "sequence"
});
}
headers.push({ headers.push({
text: this.$ay.t("WorkOrderItemSummary"), //mandatory not hidden text: this.$ay.t("WorkOrderItemSummary"), //mandatory not hidden
align: "left", align: "left",
@@ -284,6 +292,7 @@ and it's probably not a big list to fill anyway
return { return {
index: i, index: i,
id: x.id, id: x.id,
sequence: x.sequence,
notes: x.notes, notes: x.notes,
quantityReceived: window.$gz.locale.decimalLocalized( quantityReceived: window.$gz.locale.decimalLocalized(
x.quantityReceived, x.quantityReceived,

View File

@@ -1045,7 +1045,8 @@ async function fetchTranslatedText(vm) {
"WorkOrderItemScheduledUserStopDate", "WorkOrderItemScheduledUserStopDate",
"WorkOrderItemScheduledUserEstimatedQuantity", "WorkOrderItemScheduledUserEstimatedQuantity",
"WorkOrderItemScheduledUserUserID", "WorkOrderItemScheduledUserUserID",
"WorkOrderItemScheduledUserServiceRateID" "WorkOrderItemScheduledUserServiceRateID",
"Sequence"
]); ]);
} }