Subversion Repositories SmartDukaan

Rev

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

Rev 17403 Rev 17412
Line 155... Line 155...
155
            }
155
            }
156
        });
156
        });
157
    }    
157
    }    
158
}
158
}
159
 
159
 
160
function generateProductLabel(params) {
160
function generateProductLabel(productLabelItemId, productLabelItemNo) {
161
	$.ajax({
161
	$.ajax({
162
		type : "POST",
162
		type : "POST",
163
		url : "/inventory/purchase-order!generateProductLabel",
163
		url : "/inventory/purchase-order!generateProductLabel",
164
		data : params,
164
		data      : 'productLabelItemId=' + productLabelItemId + '&productLabelItemNo=' + productLabelItemNo,
165
		success : function(response) {
165
		success : function(response) {
166
			alert(response);
166
			alert(response);
167
			$.colorbox.close();
167
			$.colorbox.close();
168
		},
168
		},
169
		error : function() {
169
		error : function() {