null check
This commit is contained in:
parent
8d076ee75f
commit
f1888702b1
@ -2159,7 +2159,7 @@ function USRate()
|
|||||||
|
|
||||||
function EditQtyZerocheck()
|
function EditQtyZerocheck()
|
||||||
{
|
{
|
||||||
if(($('#EditRate').val()=="0")||$('#EditQuantity').val()=="0")
|
if(($('#EditRate').val()=="0")||$('#EditQuantity').val()=="0"||($('#EditRate').val()=='')||$('#EditQuantity').val()=='')
|
||||||
{
|
{
|
||||||
alert('Please Enter A Valid Number for Rate and Quantity');
|
alert('Please Enter A Valid Number for Rate and Quantity');
|
||||||
$('#EdittxtBasicValue').val(0);
|
$('#EdittxtBasicValue').val(0);
|
||||||
|
|||||||
@ -3345,7 +3345,7 @@ function USRate()
|
|||||||
|
|
||||||
function EditQtyZerocheck()
|
function EditQtyZerocheck()
|
||||||
{
|
{
|
||||||
if(($('#EditRate').val()=="0")||$('#EditQuantity').val()=="0")
|
if(($('#EditRate').val()=="0")||$('#EditQuantity').val()=="0"||($('#EditRate').val()=='')||$('#EditQuantity').val()=='')
|
||||||
{
|
{
|
||||||
alert('Please Enter A Valid Number for Rate and Quantity');
|
alert('Please Enter A Valid Number for Rate and Quantity');
|
||||||
$('#EdittxtBasicValue').val(0);
|
$('#EdittxtBasicValue').val(0);
|
||||||
@ -3392,7 +3392,7 @@ function EditRatechange()
|
|||||||
|
|
||||||
function QtyZerocheck()
|
function QtyZerocheck()
|
||||||
{
|
{
|
||||||
if(($('#Rate').val()=="0")||$('#Quantity').val()=="0")
|
if(($('#Rate').val()=="0")||$('#Quantity').val()=="0"||($('#Rate').val()=='')||$('#Quantity').val()=='')
|
||||||
{
|
{
|
||||||
alert('Please Enter A Valid Number for Rate and Quantity');
|
alert('Please Enter A Valid Number for Rate and Quantity');
|
||||||
$('#txtBasicValue').val(0);
|
$('#txtBasicValue').val(0);
|
||||||
|
|||||||
@ -2421,7 +2421,7 @@ function USRate()
|
|||||||
|
|
||||||
function QtyZerocheck()
|
function QtyZerocheck()
|
||||||
{
|
{
|
||||||
if(($('#Rate').val()=="0")||$('#Quantity').val()=="0")
|
if(($('#Rate').val()=="0")||$('#Quantity').val()=="0"||($('#Rate').val()=='')||$('#Quantity').val()=='')
|
||||||
{
|
{
|
||||||
alert('Please Enter A Valid Number for Rate and Quantity');
|
alert('Please Enter A Valid Number for Rate and Quantity');
|
||||||
$('#txtBasicValue').val(0);
|
$('#txtBasicValue').val(0);
|
||||||
@ -2511,7 +2511,7 @@ function Ratechange(){
|
|||||||
|
|
||||||
function EditQtyZerocheck()
|
function EditQtyZerocheck()
|
||||||
{
|
{
|
||||||
if(($('#EditRate').val()=="0")||$('#EditQuantity').val()=="0")
|
if(($('#EditRate').val()=="0")||$('#EditQuantity').val()=="0"||($('#EditRate').val()=='')||$('#EditQuantity').val()=='')
|
||||||
{
|
{
|
||||||
alert('Please Enter A Valid Number for Rate and Quantity');
|
alert('Please Enter A Valid Number for Rate and Quantity');
|
||||||
$('#EdittxtBasicValue').val(0);
|
$('#EdittxtBasicValue').val(0);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user