Subversion Repositories SmartDukaan

Rev

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

Rev 22354 Rev 22660
Line 98... Line 98...
98
			//error = true;
98
			//error = true;
99
			alert("sellingPrice must be greater than equal to mop")
99
			alert("sellingPrice must be greater than equal to mop")
100
			$element.addClass("border-highlight");
100
			$element.addClass("border-highlight");
101
		}else{
101
		}else{
102
			$element.removeClass("border-highlight")
102
			$element.removeClass("border-highlight")
-
 
103
			if(unitPrice == mopPrice){
-
 
104
				$("input.discountAmount").removeAttr("readonly");
-
 
105
			}
103
			if(unitPrice != ''){
106
			if(unitPrice != ''){
104
			    $.ajax({
107
			    $.ajax({
105
			         type: "GET",
108
			         type: "GET",
106
			         url: "insurancePrices?price="+unitPrice,
109
			         url: "insurancePrices?price="+unitPrice,
107
			         //data: payload,
110
			         //data: payload,