diff --git a/server/job/job-totals.js b/server/job/job-totals.js index 35f6d7849..a04650815 100644 --- a/server/job/job-totals.js +++ b/server/job/job-totals.js @@ -236,7 +236,7 @@ function CalculateRatesTotals(ratesList) { } let threshold; //Check if there is a max for this type. - if (ratesList.materials[property]) { + if (ratesList.materials && ratesList.materials[property]) { // if ( ratesList.materials[property].cal_maxdlr &&