import validations

This commit is contained in:
venbatechnologies@gmail.com 2017-08-12 14:55:46 +05:30
parent c7c9e2aa73
commit b48ec59a01

View File

@ -144,9 +144,18 @@ function vaildateBeforeOpenModal()
}
else if($('#Dispatch').val() == '' && $('#Scheduleby').val() == '')
{
alert('Please Enter the Dispatch Instruction');
$('#Dispatch').focus();
return false;
if(document.getElementById("Schedule").checked)
{
alert('Please Enter Schedule By');
return false;
}
else if(document.getElementById("Date").checked)
{
alert('Please Enter Dispatch Instruction');
return false;
}
}
else if($('#currencytype').val() == '0')
{