po subtype validation
This commit is contained in:
parent
07ced663c4
commit
2f87aa9cc2
@ -4691,6 +4691,14 @@ var basicAmountRate = parseFloat($('#CapitalToatlOrder').val());
|
||||
alert('Total Order Amount is exceeding the Budget Limit.Please adjust the product value.');
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
else if($('#PoTypeOptions').val()== "0")
|
||||
{
|
||||
alert('Please Select POType');
|
||||
$('#PoTypeOptions').focus();
|
||||
return false;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -4539,6 +4539,18 @@ if(validate()&&Budgetcheck())
|
||||
alert('Please Select Line item to Create PO');
|
||||
$('#Deliverydt').focus();
|
||||
return false;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
else if($('#Importoption').val()== "0")
|
||||
{
|
||||
alert('Please Select POType');
|
||||
$('#Importoption').focus();
|
||||
return false;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -175,7 +175,7 @@ function vaildateBeforeOpenModal()
|
||||
}
|
||||
|
||||
|
||||
else if($('#PoTypeOptions').val()=='')
|
||||
else if($('#PoTypeOptions').val()=="0")
|
||||
{
|
||||
alert('Please Select POType');
|
||||
$('#PoTypeOptions').focus();
|
||||
@ -4292,6 +4292,14 @@ var AvlBudAmt = '<?php echo $AvlAmount ?>';
|
||||
alert('Please Enter Insurance No..!');
|
||||
$('#insurance').focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
else if($('#PoTypeOptions').val()=="0")
|
||||
{
|
||||
alert('Please Select POType');
|
||||
$('#PoTypeOptions').focus();
|
||||
return false;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -2375,6 +2375,15 @@ var AvlBudAmt = '<?php echo $AvlAmount ?>';
|
||||
alert('Please Enter Description Of Service');
|
||||
$('#descofpo').focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
else if($('#PoTypeOptions').val()=="0")
|
||||
{
|
||||
alert('Please Select POType');
|
||||
$('#PoTypeOptions').focus();
|
||||
return false;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user