Subversion Repositories SmartDukaan

Rev

Rev 17425 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17425 Rev 25117
Line 155... Line 155...
155
            }
155
            }
156
        });
156
        });
157
    }    
157
    }    
158
}
158
}
159
 
159
 
-
 
160
function updateModelNameInvoicePrice(inputElement, itemId, invoicePrice, poId) {
-
 
161
	$.ajax({
-
 
162
		type      : 'GET',
-
 
163
		url       : '/inventory/purchase-order!updateItemInvoicePrice',
-
 
164
		data      : 'itemId=' + itemId + '&poId=' + poId + '&invoicePrice=' + invoicePrice,
-
 
165
		success   : function(response) {
-
 
166
			$(inputElement).css('background-color', '#bfbfbf');
-
 
167
		}
-
 
168
	});
-
 
169
}
-
 
170
 
160
/*
171
/*
161
function submitSetWeightForm(itemId,weight,poId){
172
function submitSetWeightForm(itemId,weight,poId){
162
	$.ajax({
173
	$.ajax({
163
        type : 'POST',
174
        type : 'POST',
164
        url : '/inventory/purchase-order!setWeightForItemProdAndStaging?itemId='+itemId+"&weightVal="+weight+"&poId="+poId,
175
        url : '/inventory/purchase-order!setWeightForItemProdAndStaging?itemId='+itemId+"&weightVal="+weight+"&poId="+poId,