fixed bugs in emergency PO

This commit is contained in:
vadivel J 2024-10-01 17:57:30 +05:30
parent fdc9b5587a
commit 628992d416

View File

@ -1884,7 +1884,8 @@ if (!empty($INRSYMBOL)) {
return false;
}
else if( $('#Otherpayment').val() == ''){
else if( $('#Otherpayment').length > 0 && $('#Otherpayment').is(':visible') && $('#Otherpayment').val() == ''){
alert('Please Enter the Description of payable terms');
$('#Otherpayment').focus();
return false;