Removed 20,000 kms restriction RPS-40
This commit is contained in:
@@ -57,9 +57,12 @@ async function DecodeEstimate(filePath, includeFilePathInReturnJob = false) {
|
||||
const accepted_ins_co = store.get("accepted_ins_co");
|
||||
|
||||
let returnValue;
|
||||
if (job.V_MILEAGE <= 20000) {
|
||||
returnValue = { ERROR: "Vehicle mileage is less than 20,000kms." };
|
||||
} else if (!accepted_ins_co.includes(job.INS_CO_NM)) {
|
||||
//Removed as a part of RPS-40.
|
||||
// if (job.V_MILEAGE <= 20000) {
|
||||
// returnValue = { ERROR: "Vehicle mileage is less than 20,000kms." };
|
||||
// } else
|
||||
|
||||
if (!accepted_ins_co.includes(job.INS_CO_NM)) {
|
||||
returnValue = {
|
||||
ERROR: `Insurance Company Name is not valid for RPS. (${
|
||||
job.INS_CO_NM || "No name set"
|
||||
|
||||
Reference in New Issue
Block a user