修复 144 72 免签时间错误

hotfix/paypal-note
Jimmy Liow 2 years ago
parent e634397dbd
commit 6e204b6a75

@ -1187,12 +1187,12 @@ ready(el => {
const indexOf72 = selectedOption.getAttribute('data-hour').indexOf('72'); const indexOf72 = selectedOption.getAttribute('data-hour').indexOf('72');
const indexOf144 = selectedOption.getAttribute('data-hour').indexOf('144'); const indexOf144 = selectedOption.getAttribute('data-hour').indexOf('144');
if (diffInDays < 1 || diffInDays > 2 || indexOf72 == -1) { if (diffInDays < 1 || diffInDays > 3 || indexOf72 == -1) {
visa72hours = false; visa72hours = false;
error_72hours.show(); error_72hours.show();
} }
if (diffInDays < 1 || diffInDays > 7 || indexOf144 == -1) { if (diffInDays < 1 || diffInDays > 6 || indexOf144 == -1) {
visa144hours = false; visa144hours = false;
error_72hours.show(); error_72hours.show();
} }

Loading…
Cancel
Save