IO-1714 Resolve monthly efficiency component.

This commit is contained in:
Patrick Fic
2022-02-07 18:50:18 -08:00
parent 76fb8f453d
commit 14e9ac2cdb
2 changed files with 4 additions and 4 deletions

View File

@@ -667,7 +667,7 @@ const formatGpPercent = (gppercent) => {
//Verify that this stays in line with jobs-close-auto-allocate logic from the application.
const getAdditionalCostCenter = (jl, profitCenters) => {
if (!jl.part_type && !jl.mod_lbr_ty) {
const lineDesc = jl.line_desc.toLowerCase();
const lineDesc = jl.line_desc ? jl.line_desc.toLowerCase() : "";
if (lineDesc.includes("shop mat")) {
return profitCenters["MASH"];