fix(mainmaterial check): if the machine dose not require mm to be staged properly ignore
This commit is contained in:
@@ -19,7 +19,7 @@ export const isMainMatStaged = async (lot: any) => {
|
||||
(m: any) => m.HumanReadableId === lot.machineID
|
||||
);
|
||||
// we have a check on ksc side to ignore the tetra machine for now as its not updating in 2.0
|
||||
if (machine.StagingMainMaterialMandatory === 0) {
|
||||
if (!machine[0].StagingMainMaterialMandatory) {
|
||||
createLog(
|
||||
"info",
|
||||
"mainMaterial",
|
||||
|
||||
Reference in New Issue
Block a user