Subversion Repositories SmartDukaan

Rev

Rev 12672 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12672 Rev 12676
Line 284... Line 284...
284
	console.log(fbbPromoStatus=="true");
284
	console.log(fbbPromoStatus=="true");
285
	if (fbaPromoStatus=="true"){
285
	if (fbaPromoStatus=="true"){
286
		var fbaPromoPrice = $('#fbaPromoPrice').val();
286
		var fbaPromoPrice = $('#fbaPromoPrice').val();
287
		var maxFbaSalePrice = $('#fbaMaxSalePrice').val();
287
		var maxFbaSalePrice = $('#fbaMaxSalePrice').val();
288
		
288
		
289
		if (fbaPromoPrice<=0){
289
		if (fbaPromoPrice<=0 || fbaPromoPrice==null || fbaPromoPrice=="" || isNaN(fbaPromoPrice)){
290
			jAlert('Illegal value in Fba Promo Price field', 'ERROR');
290
			jAlert('Illegal value in Fba Promo Price field', 'ERROR');
291
      		return false;
291
      		return false;
292
		}
292
		}
293
		
293
		
294
		if (maxFbaSalePrice<=0){
294
		if (maxFbaSalePrice<=0){
Line 304... Line 304...
304
	
304
	
305
	if (fbbPromoStatus=="true"){
305
	if (fbbPromoStatus=="true"){
306
		var fbbPromoPrice = $('#fbbPromoPrice').val();
306
		var fbbPromoPrice = $('#fbbPromoPrice').val();
307
		var maxFbbSalePrice = $('#fbbMaxSalePrice').val();
307
		var maxFbbSalePrice = $('#fbbMaxSalePrice').val();
308
		
308
		
309
		if (fbbPromoPrice<=0){
309
		if (fbbPromoPrice<=0 || fbbPromoPrice==null || fbbPromoPrice=="" || isNaN(fbbPromoPrice)){
310
			jAlert('Illegal value in Fbb Promo Price field', 'ERROR');
310
			jAlert('Illegal value in Fbb Promo Price field', 'ERROR');
311
      		return false;
311
      		return false;
312
		}
312
		}
313
		
313
		
314
		if (maxFbbSalePrice<=0){
314
		if (maxFbbSalePrice<=0){