Fixed bug introduced by removing productionview table in scheduling BOD-243

This commit is contained in:
Patrick Fic
2020-08-05 10:11:07 -07:00
parent f2b9a5699b
commit 2f11ad48c0
2 changed files with 23 additions and 5 deletions

View File

@@ -28,8 +28,8 @@ export function* calculateScheduleLoad({ payload: end }) {
let load = {
productionHoursTotal:
result.data.productionview_aggregate.aggregate.sum.larhrs +
result.data.productionview_aggregate.aggregate.sum.labhrs,
result.data.larhrs.aggregate.sum.mod_lb_hrs +
result.data.labhrs.aggregate.sum.mod_lb_hrs,
};
const { arrJobs, compJobs } = result.data;