| 31816 |
tejbeer |
1 |
|
|
|
2 |
<script>
|
|
|
3 |
$(document).ready(function() {
|
|
|
4 |
$('#regionBrand').multiselect({
|
|
|
5 |
includeSelectAllOption: true,
|
|
|
6 |
maxHeight: 200,
|
|
|
7 |
multiple:true,
|
|
|
8 |
buttonWidth: '180px',
|
|
|
9 |
numberDisplayed: 1,
|
|
|
10 |
nonSelectedText: 'Brands',
|
|
|
11 |
nSelectedText: ' - Brands Selected',
|
|
|
12 |
allSelectedText: 'All Brands Selected',
|
|
|
13 |
enableFiltering: true,
|
|
|
14 |
enableCaseInsensitiveFiltering : true
|
|
|
15 |
});
|
|
|
16 |
|
|
|
17 |
});
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
</script>
|
|
|
22 |
<section class="wrapper">
|
|
|
23 |
<div class="row">
|
|
|
24 |
<div class="col-lg-12">
|
|
|
25 |
<h3 class="page-header"><i class="icon_document_alt"></i>BRAND REGION MAPPING</h3>
|
|
|
26 |
<ol class="breadcrumb">
|
|
|
27 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
28 |
<li><i class="icon_document_alt"></i>BRAND REGION MAPPING</li>
|
|
|
29 |
</ol>
|
|
|
30 |
</div>
|
|
|
31 |
</div>
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
<div class = "row">
|
|
|
36 |
<div class="col-lg-2 form-group">
|
|
|
37 |
<select class="form-control input-sm" id = "regionBrand" name = "regionBrand" placeholder="All brands" >
|
|
|
38 |
|
|
|
39 |
<option value="" disabled selected>Brands</option>
|
|
|
40 |
#foreach($brand in $brands)
|
|
|
41 |
<option value="$brand.getName()">$brand.getName()</option>
|
|
|
42 |
#end
|
|
|
43 |
</select>
|
|
|
44 |
|
|
|
45 |
</div>
|
|
|
46 |
|
|
|
47 |
<div class="col-lg-2 form-group">
|
|
|
48 |
<label> isAccessory </label>
|
|
|
49 |
<input type="checkbox" id="accessory" name="accessory">
|
|
|
50 |
|
|
|
51 |
</div>
|
|
|
52 |
<button type="button" class="btn btn-primary region-brand-mapping">submit</button>
|
|
|
53 |
</div>
|
|
|
54 |
|
|
|
55 |
<div>
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
<form id="brand-region-mapping" style="width: 60%;">
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
<div class = "row">
|
|
|
65 |
<div class="col-lg-2 form-group">
|
|
|
66 |
<select class="form-control input-sm" id = "fromWarehouse" name = "fromWarehouse" placeholder="From Warehouse" >
|
|
|
67 |
|
|
|
68 |
<option value="" disabled selected>From Warehouse</option>
|
|
|
69 |
#foreach($warehouse in $warehouseMap.entrySet())
|
|
|
70 |
<option value="$warehouse.getKey()">$warehouse.getValue()</option>
|
|
|
71 |
#end
|
|
|
72 |
</select>
|
|
|
73 |
|
|
|
74 |
</div>
|
|
|
75 |
<div class="col-lg-2 form-group">
|
|
|
76 |
<select class="form-control input-sm" id = "toWarehouse" name = "toWarehouse" placeholder="TO Warehouse" >
|
|
|
77 |
|
|
|
78 |
<option value="" disabled selected> To Warehouse</option>
|
|
|
79 |
#foreach($warehouse in $warehouseMap.entrySet())
|
|
|
80 |
<option value="$warehouse.getKey()">$warehouse.getValue()</option>
|
|
|
81 |
#end
|
|
|
82 |
</select>
|
|
|
83 |
|
|
|
84 |
</div>
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
<button type="button" class="btn btn-primary mapping-submit">submit</button>
|
|
|
88 |
</div>
|
|
|
89 |
|
|
|
90 |
</form>
|
|
|
91 |
|
|
|
92 |
<div class="brandRegionMappingContainer">
|
|
|
93 |
|
|
|
94 |
</div>
|
|
|
95 |
|
|
|
96 |
</section>
|
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|