Subversion Repositories SmartDukaan

Rev

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

Rev 20902 Rev 20903
Line 175... Line 175...
175
function createPurchaseReturnJS(params){
175
function createPurchaseReturnJS(params){
176
	$.ajax({
176
	$.ajax({
177
        type : 'POST',
177
        type : 'POST',
178
        url : '/inventory/purchase-return!createPurchaseReturn',
178
        url : '/inventory/purchase-return!createPurchaseReturn',
179
        data      : params,
179
        data      : params,
-
 
180
        dataType: 'json',
-
 
181
        contentType:'application/x-www-form-urlencoded',
180
        success : function(response) {
182
        success : function(response) {
181
        	alert(response);
183
        	alert(response);
182
        	document.location.href = '/inventory/purchase-return' ;
184
        	document.location.href = '/inventory/purchase-return' ;
183
        },
185
        },
184
        error : function() {
186
        error : function() {