| 31816 |
tejbeer |
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
<table class="table table-border table-condensed table-bordered"
|
|
|
6 |
id="brand-region-table" style="width: 100%;">
|
|
|
7 |
|
|
|
8 |
<thead class="row">
|
|
|
9 |
<h3>Region Mapping Of $brand</h3>
|
|
|
10 |
<tr>
|
|
|
11 |
<th>Brand</th>
|
|
|
12 |
<th>From Warehouse</th>
|
|
|
13 |
<th>To Warehouse</th>
|
|
|
14 |
<th>isAccessory</th>
|
|
|
15 |
<th>Action</th>
|
|
|
16 |
</tr>
|
|
|
17 |
|
|
|
18 |
</thead>
|
|
|
19 |
|
|
|
20 |
<tbody>
|
|
|
21 |
#foreach($brandRegionMapping in $brandRegionMappings)
|
|
|
22 |
<tr>
|
|
|
23 |
<td>$brandRegionMapping.getBrand()</td>
|
|
|
24 |
<td>$warehouseMap.get($brandRegionMapping.getFromWarehouseId())</td>
|
|
|
25 |
<td>$warehouseMap.get($brandRegionMapping.getToWarehouseId())</td>
|
|
|
26 |
<td>$brandRegionMapping.isAccessory()</td>
|
|
|
27 |
|
|
|
28 |
<td><button class="btn btn-primary remove-mapping" data-brand="$brandRegionMapping.getBrand()"
|
|
|
29 |
data-fromwarehouse="$brandRegionMapping.getFromWarehouseId()" data-towarehouse="$brandRegionMapping.getToWarehouseId()"
|
|
|
30 |
data-isaccessory="$brandRegionMapping.isAccessory()" >Remove</button></td>
|
|
|
31 |
|
|
|
32 |
</tr>
|
|
|
33 |
#end
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
</tbody>
|
|
|
37 |
</table>
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
<script>
|
|
|
41 |
var table = $('#brand-region-table').DataTable({
|
|
|
42 |
orderCellsTop: true,
|
|
|
43 |
fixedHeader: true
|
|
|
44 |
});
|
|
|
45 |
</script>
|
|
|
46 |
|