This commit is contained in:
2021-06-24 22:00:20 +00:00
parent 392faeeb28
commit b7c69cb8cf
2 changed files with 5 additions and 4 deletions

View File

@@ -861,7 +861,8 @@ namespace AyaNova.Biz
}
}
ret.Items.Add(woitem);
if (woitem != null)
ret.Items.Add(woitem);
await WorkOrderPopulateVizFields(ret, false);
return ret;
@@ -892,8 +893,8 @@ namespace AyaNova.Biz
//return in db natural order and need to be put back into the same order as the ID List
//Here in the workorder however, this code is fetching individually one at a time so they are always going to be in the correct order so this re-ordering is unnecessary
//I'm keeping this here for future reference when I ineveitably wonder what the hell is happening here :)
//order the results back into original
//IEnumerable<WorkOrder> orderedList = null;

View File

@@ -31,7 +31,7 @@ namespace AyaNova.Util
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
///////////////////////////////////////////////////////////////// C957:I137:CC415:FC118:V6:R2
///////////////////////////////////////////////////////////////// (C961:I137:CC415:FC118:V6:R2)
/*