Subversion Repositories SmartDukaan

Rev

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

Rev 17412 Rev 17425
Line 155... Line 155...
155
            }
155
            }
156
        });
156
        });
157
    }    
157
    }    
158
}
158
}
159
 
159
 
160
function generateProductLabel(productLabelItemId, productLabelItemNo) {
-
 
161
	$.ajax({
-
 
162
		type : "POST",
-
 
163
		url : "/inventory/purchase-order!generateProductLabel",
-
 
164
		data      : 'productLabelItemId=' + productLabelItemId + '&productLabelItemNo=' + productLabelItemNo,
-
 
165
		success : function(response) {
-
 
166
			alert(response);
-
 
167
			$.colorbox.close();
-
 
168
		},
-
 
169
		error : function() {
-
 
170
			alert("Error in generating product label");
-
 
171
			$.colorbox.close();
-
 
172
		}
-
 
173
	});
-
 
174
}
-
 
175
/*
160
/*
176
function submitSetWeightForm(itemId,weight,poId){
161
function submitSetWeightForm(itemId,weight,poId){
177
	$.ajax({
162
	$.ajax({
178
        type : 'POST',
163
        type : 'POST',
179
        url : '/inventory/purchase-order!setWeightForItemProdAndStaging?itemId='+itemId+"&weightVal="+weight+"&poId="+poId,
164
        url : '/inventory/purchase-order!setWeightForItemProdAndStaging?itemId='+itemId+"&weightVal="+weight+"&poId="+poId,