while creating emergency po comments instruction changes done
This commit is contained in:
parent
9e61828308
commit
2853119efb
@ -1830,10 +1830,11 @@ function SetExciseCalculationCancel()
|
|||||||
var avaBud=document.getElementById('AvalBuget').value;
|
var avaBud=document.getElementById('AvalBuget').value;
|
||||||
var getLocal = document.getElementById('Local').value;
|
var getLocal = document.getElementById('Local').value;
|
||||||
StateTaxCheck = $("input:radio[name='Range']:checked").val();
|
StateTaxCheck = $("input:radio[name='Range']:checked").val();
|
||||||
|
var radioValue = $("input[name='DateRange']:checked").val();
|
||||||
|
|
||||||
// $('#txtPoRange').val(StateTaxCheck) ;
|
// $('#txtPoRange').val(StateTaxCheck) ;
|
||||||
//alert('Radio clicke:'+StateTaxCheck);
|
//alert('Radio clicke:'+StateTaxCheck);
|
||||||
|
|
||||||
if (input == -1)
|
if (input == -1)
|
||||||
{
|
{
|
||||||
alert ("Select Request Type");
|
alert ("Select Request Type");
|
||||||
@ -1847,14 +1848,14 @@ function SetExciseCalculationCancel()
|
|||||||
$('#drpSupplier').focus();
|
$('#drpSupplier').focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else if(input=='REVENUE' && $('#Deliverydate').val()==''){
|
else if(input=='REVENUE' && $('#Deliverydate').val()=='' && radioValue==0){
|
||||||
alert('Please Select the Delivery Date');
|
alert('Please Select the Delivery Date');
|
||||||
$('#Deliverydate').focus();
|
$('#Deliverydate').focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else if(input=='REVENUE' && $('#Scheduleby').val().trim()==''){
|
else if(input=='REVENUE' && $('#Scheduleby').val().trim()=='' && radioValue==1){
|
||||||
alert('Please Enter the Schedule By');
|
alert('Please Enter the Schedule By');
|
||||||
$('#Deliverydate').focus();
|
$('#Scheduleby').focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user