| Line 155... |
Line 155... |
| 155 |
$('#warehouseBrandStock tbody').on('click', ' tr', function () {
|
155 |
$('#warehouseBrandStock tbody').on('click', ' tr', function () {
|
| 156 |
var data = table.row( this ).data();
|
156 |
var data = table.row( this ).data();
|
| 157 |
var warehouseId = $('#warehouseMap').val();
|
157 |
var warehouseId = $('#warehouseMap').val();
|
| 158 |
var brands = [];
|
158 |
var brands = [];
|
| 159 |
brands.push(data[0])
|
159 |
brands.push(data[0])
|
| 160 |
console.log(data);
|
- |
|
| 161 |
console.log(brands)
|
- |
|
| 162 |
doGetAjaxRequestHandler(context + "/getWarehouseWiseBrandAndCategory?warehouseId="+warehouseId+"&brands="+brands+"&category="+data[1], function(response) {
|
160 |
doGetAjaxRequestHandler(context + "/getWarehouseWiseBrandAndCategory?warehouseId="+warehouseId+"&brands="+brands+"&category="+data[1], function(response) {
|
| 163 |
$('.warehouse-brand-item-container').html(response);
|
161 |
$('.warehouse-brand-item-container').html(response);
|
| 164 |
console.log(response)
|
- |
|
| 165 |
doGetAjaxRequestHandler(context + "/getWarehouseWiseItemStock?warehouseId="+warehouseId+"&brands="+brands+"&category="+data[1], function(response) {
|
162 |
doGetAjaxRequestHandler(context + "/getWarehouseWiseItemStock?warehouseId="+warehouseId+"&brands="+brands+"&category="+data[1], function(response) {
|
| 166 |
$('#warehosueItemStock').html(response);
|
163 |
$('#warehosueItemStock').html(response);
|
| 167 |
console.log(response)
|
- |
|
| 168 |
});
|
164 |
});
|
| 169 |
});
|
165 |
});
|
| 170 |
|
166 |
|
| 171 |
});
|
167 |
});
|
| 172 |
});
|
168 |
});
|