check other with absolute
This commit is contained in:
@@ -101,6 +101,8 @@ function isSavePlateOther(type, timestamp, plate) {
|
||||
return false;
|
||||
} else if (levenshtein(plate, currentInOther[i].plate) < 2) {
|
||||
return false;
|
||||
} else if (levenshtein(plate, currentIn[i].plate) < 3) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -112,6 +114,8 @@ function isSavePlateOther(type, timestamp, plate) {
|
||||
return false;
|
||||
} else if (levenshtein(plate, currentOutOther[i].plate) < 2) {
|
||||
return false;
|
||||
} else if (levenshtein(plate, currentOut[i].plate) < 3) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user