Subversion Repositories SmartDukaan

Rev

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

Rev 34548 Rev 34581
Line 119... Line 119...
119
});
119
});
120
 
120
 
121
$(document).on('click', '.add-to-cart-btn', function () {
121
$(document).on('click', '.add-to-cart-btn', function () {
122
	var price = $(this).data('price');
122
	var price = $(this).data('price');
123
	var catalogId = $(this).data('catalogid');
123
	var catalogId = $(this).data('catalogid');
-
 
124
	var warehouseId = $(this).data('warehouseid');
124
	console.log('price ', price)
125
	console.log('price ', price)
125
 
126
 
126
	doGetAjaxRequestHandler(context + "/getPoCatalogsItems?price=" + price + "&catalogId=" + catalogId, function (response) {
127
	doGetAjaxRequestHandler(context + "/getPoCatalogsItems?warehouseId=" + warehouseId + "&price=" + price + "&catalogId=" + catalogId, function (response) {
127
 
128
 
128
		$('#poItemsDetail .modal-content').html(response);
129
		$('#poItemsDetail .modal-content').html(response);
129
 
130
 
130
	});
131
	});
131
});
132
});