Fix validation not working for alternate phone number when registers new customer
This commit is contained in:
@@ -816,7 +816,7 @@
|
|||||||
return false;
|
return false;
|
||||||
}else{
|
}else{
|
||||||
if((customerphone.length < 9 || customerphone.length >= 12)){
|
if((customerphone.length < 9 || customerphone.length >= 12)){
|
||||||
$("#terima_ic", myKadModal), myKadModal.prop('disabled', false);
|
$("#terima_ic", myKadModal).prop('disabled', false);
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
icon: 'error',
|
icon: 'error',
|
||||||
title: 'Amaran!',
|
title: 'Amaran!',
|
||||||
|
|||||||
Reference in New Issue
Block a user