Subversion Repositories SmartDukaan

Rev

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

Rev 13054 Rev 17403
Line 154... Line 154...
154
                }
154
                }
155
            }
155
            }
156
        });
156
        });
157
    }    
157
    }    
158
}
158
}
-
 
159
 
-
 
160
function generateProductLabel(params) {
-
 
161
	$.ajax({
-
 
162
		type : "POST",
-
 
163
		url : "/inventory/purchase-order!generateProductLabel",
-
 
164
		data : params,
-
 
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
}
159
/*
175
/*
160
function submitSetWeightForm(itemId,weight,poId){
176
function submitSetWeightForm(itemId,weight,poId){
161
	$.ajax({
177
	$.ajax({
162
        type : 'POST',
178
        type : 'POST',
163
        url : '/inventory/purchase-order!setWeightForItemProdAndStaging?itemId='+itemId+"&weightVal="+weight+"&poId="+poId,
179
        url : '/inventory/purchase-order!setWeightForItemProdAndStaging?itemId='+itemId+"&weightVal="+weight+"&poId="+poId,