while creating emergency po comments instruction changes done

This commit is contained in:
gandhimathi 2017-08-19 17:31:38 +05:30
parent 9e61828308
commit 2853119efb

View File

@ -1830,10 +1830,11 @@ function SetExciseCalculationCancel()
var avaBud=document.getElementById('AvalBuget').value;
var getLocal = document.getElementById('Local').value;
StateTaxCheck = $("input:radio[name='Range']:checked").val();
var radioValue = $("input[name='DateRange']:checked").val();
// $('#txtPoRange').val(StateTaxCheck) ;
//alert('Radio clicke:'+StateTaxCheck);
if (input == -1)
{
alert ("Select Request Type");
@ -1847,14 +1848,14 @@ function SetExciseCalculationCancel()
$('#drpSupplier').focus();
return false;
}
else if(input=='REVENUE' && $('#Deliverydate').val()==''){
else if(input=='REVENUE' && $('#Deliverydate').val()=='' && radioValue==0){
alert('Please Select the Delivery Date');
$('#Deliverydate').focus();
return false;
}
else if(input=='REVENUE' && $('#Scheduleby').val().trim()==''){
else if(input=='REVENUE' && $('#Scheduleby').val().trim()=='' && radioValue==1){
alert('Please Enter the Schedule By');
$('#Deliverydate').focus();
$('#Scheduleby').focus();
return false;
}
else