This commit is contained in:
2021-08-05 13:18:07 +00:00
parent 7488e73d8d
commit 4015906a1a
2 changed files with 21 additions and 19 deletions

View File

@@ -509,7 +509,6 @@ todo:2 many biz objects are not using new PUT methodology
CURRENTLY DOING:
todo MISC:
@@ -536,9 +535,11 @@ todo MISC:
maybe set the repeat interval off by a small amount so they can't sync up?
or maybe they just run sequentially from the initial trigger anyway?
But even so, staggering the repeat interval will mean less jobs running in the same overall job cycle
ITEMS section of workorder form needs to stand out somehow more, maybe a splash of color in the icon or something
profit$
============================

View File

@@ -442,25 +442,26 @@ function initWorkingView(vm) {
//Pass 1, iterate the columns first
for (let i = 0; i < columns.length; i++) {
let fld = vm.fieldDefinitions.find(z => z.fieldKey == columns[i]);
//bugbug: if there is a incorrect field in the view it surfaces here when user attempts to set the column view because it doesn't turn up so fld here will be null
//in this case ideally the fix would be to ignore the probably bogus column and move on to work without it
let o = {
key: fld.fieldKey,
title: null,
include: true
};
//there can be a column definition that doesn't exist due to updates or misconfiguration or other issues so ignore it if that's the case
if (fld) {
let o = {
key: fld.fieldKey,
title: null,
include: true
};
if (fld.tKeySection != null) {
o.title = vm.$ay.t(fld.tKeySection) + "." + vm.$ay.t(fld.tKey);
} else {
o.title = vm.$ay.t(fld.tKey);
if (fld.tKeySection != null) {
o.title = vm.$ay.t(fld.tKeySection) + "." + vm.$ay.t(fld.tKey);
} else {
o.title = vm.$ay.t(fld.tKey);
}
if (fld.isRowId) {
o.rid = true;
}
ret.push(o);
}
if (fld.isRowId) {
o.rid = true;
}
ret.push(o);
}
//Pass 2, remaining fields not already dealt with