| 33374 |
ranu |
1 |
<script>
|
|
|
2 |
$(document).ready(function () {
|
|
|
3 |
$('#fofo-users').multiselect({
|
|
|
4 |
includeSelectAllOption: true,
|
|
|
5 |
maxHeight: 200,
|
|
|
6 |
multiple: true,
|
|
|
7 |
buttonWidth: '100%',
|
|
|
8 |
numberDisplayed: 1,
|
|
|
9 |
nonSelectedText: 'Brands',
|
|
|
10 |
nSelectedText: ' - Brands Selected',
|
|
|
11 |
allSelectedText: 'All Brands Selected',
|
|
|
12 |
enableFiltering: true,
|
|
|
13 |
enableCaseInsensitiveFiltering: true
|
|
|
14 |
});
|
| 28437 |
tejbeer |
15 |
|
| 33374 |
ranu |
16 |
});
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
</script>
|
| 28437 |
tejbeer |
20 |
<div class="modal-header">
|
|
|
21 |
<button type="button" class="close" data-dismiss="modal">×</button>
|
| 33374 |
ranu |
22 |
<h4 class="modal-title">Change Partner </h4>
|
| 28437 |
tejbeer |
23 |
</div>
|
|
|
24 |
<div class="modal-body">
|
|
|
25 |
<div class="row">
|
|
|
26 |
<div class="col-lg-12">
|
|
|
27 |
<select class="form-control input-sm" id="fofo-users"
|
|
|
28 |
name="fofo-users" placeholder="Partners">
|
|
|
29 |
<option value="" disabled selected>Partners</option>
|
|
|
30 |
#foreach($fofoId in $customRetailersMap.keySet()) #if($fofoId ==
|
|
|
31 |
$pendingOrder.getFofoId())
|
|
|
32 |
<option value="$fofoId" selected>$customRetailersMap.get($fofoId).getBusinessName()</option>
|
|
|
33 |
|
|
|
34 |
#else
|
|
|
35 |
<option value="$fofoId">$customRetailersMap.get($fofoId).getBusinessName()</option>
|
|
|
36 |
|
|
|
37 |
#end #end
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
</select>
|
|
|
41 |
|
|
|
42 |
</div>
|
|
|
43 |
</div>
|
|
|
44 |
</div>
|
|
|
45 |
<div class="modal-footer">
|
|
|
46 |
<button type="button" data-dismiss="modal"
|
|
|
47 |
class="btn btn-default cancel-order-request">Cancel</button>
|
|
|
48 |
<button type="button" data-poid="$pendingOrder.getId()"
|
|
|
49 |
class="btn btn-default change-partner-po">Submit</button>
|
|
|
50 |
|
|
|
51 |
</div>
|