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