Subversion Repositories SmartDukaan

Rev

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

Rev 20900 Rev 20901
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'
180
        dataType: 'json',
181
        success : function(response) {
181
        success : function(response) {
182
        	alert(response);
182
        	alert(response);
183
        	document.location.href = '/inventory/purchase-return' ;
183
        	document.location.href = '/inventory/purchase-return' ;
184
        },
184
        },
185
        error : function() {
185
        error : function() {