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

@@ -511,7 +511,6 @@ todo:2 many biz objects are not using new PUT methodology
CURRENTLY DOING:
todo MISC:
Child->grandchild data lists for quotes and pm's like workorders
new workorder state set by default from global settings?? (and on generate from pm or quote)
@@ -539,6 +538,8 @@ todo MISC:
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,8 +442,8 @@ 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
//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,
@@ -462,6 +462,7 @@ function initWorkingView(vm) {
ret.push(o);
}
}
//Pass 2, remaining fields not already dealt with
for (let i = 0; i < vm.fieldDefinitions.length; i++) {