Merged in release/2022-03-18 (pull request #427)
IO-1777 add check for paint materials threshold.
This commit is contained in:
@@ -236,7 +236,7 @@ function CalculateRatesTotals(ratesList) {
|
|||||||
}
|
}
|
||||||
let threshold;
|
let threshold;
|
||||||
//Check if there is a max for this type.
|
//Check if there is a max for this type.
|
||||||
if (ratesList.materials[property]) {
|
if (ratesList.materials && ratesList.materials[property]) {
|
||||||
//
|
//
|
||||||
if (
|
if (
|
||||||
ratesList.materials[property].cal_maxdlr &&
|
ratesList.materials[property].cal_maxdlr &&
|
||||||
|
|||||||
Reference in New Issue
Block a user