Remove hail exclusion.
This commit is contained in:
@@ -99,12 +99,14 @@ async function DecodeEstimate(
|
||||
returnValue = {
|
||||
ERROR: "Job ignored. This is an -02 claim. Claim #. " + job.CLM_NO,
|
||||
};
|
||||
} else if (job.LOSS_TYPE.toLowerCase() === "h") {
|
||||
log.info("Job ignored. This is a hail damage claim. " + job.CLM_NO);
|
||||
returnValue = {
|
||||
ERROR: "Job ignored. This is a hail damage claim. " + job.CLM_NO,
|
||||
};
|
||||
} else {
|
||||
}
|
||||
// else if (job.LOSS_TYPE.toLowerCase() === "h") {
|
||||
// log.info("Job ignored. This is a hail damage claim. " + job.CLM_NO);
|
||||
// returnValue = {
|
||||
// ERROR: "Job ignored. This is a hail damage claim. " + job.CLM_NO,
|
||||
// };
|
||||
// }
|
||||
else {
|
||||
delete job.LOSS_TYPE;
|
||||
returnValue = _.transform(job, function (result, val, key) {
|
||||
result[key.toLowerCase()] = val;
|
||||
|
||||
Reference in New Issue
Block a user