Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
26721 tejbeer 1
<script>
2
		$(document).ready(function() {
3
        $('#fofo-users').multiselect({
4
    		includeSelectAllOption: true,
5
                maxHeight: 200,
6
                multiple:true,
7
        		buttonWidth: '180px',
8
        		numberDisplayed: 1,
9
        	nonSelectedText: 'Users',
10
        	nSelectedText: ' - Users Selected',
11
        	allSelectedText: 'All Users Selected',
12
        	enableFiltering: true,
13
	        enableCaseInsensitiveFiltering : true
14
        });
15
 
16
 
17
            });
18
 
19
            $(document).ready(function() {
20
            var fofoId = $('#fofo-users').val()
21
            });
22
 
23
 
24
 
25
 </script>
26
 
27
 
28
 
29
<section class="wrapper">
30
	<div class="row">
31
		<div class="col-lg-12">
32
			<h3 class="page-header"><i class="icon_document_alt"></i>PARTNER ALLOCATION</h3>
33
			<ol class="breadcrumb">
34
				<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
35
				<li><i class="icon_document_alt"></i>Partner Allocation</li>						  	
36
			</ol>
37
		</div>
38
	</div>
39
	<form id="allocation-form">
40
		<div id="customer-details" style="background:white;background-color:white;padding:10px;">
41
			<h4 class="modelHeaderCustom" style="font-size:22px;">Allocation</h4>
42
			<div>
43
				<div class = "row">
44
			      <div class="col-lg-2 form-group">
45
					<select  class="form-control input-sm" id = "fofo-users" name = "fofo-users" placeholder="Partners" >
46
					<option value="" disabled selected>Partners</option>
47
					#foreach($fofoId in $customRetailersMap.keySet())
48
         				<option value="$fofoId">$customRetailersMap.get($fofoId).getBusinessName()</option>
49
         			#end
50
	                </select>
51
 
52
	             </div>
53
 
54
	              	<div class="col-lg-2">
55
	      		      <button class="btn btn-primary partnerAllocation" data-fofostorecode = "$fofoStoreMap.get($fofoId)" type="button" style="width:100%; border-radius:0px;">Submit</button>
56
	      	       </div>
57
	            </div>
58
	          </div>
59
	        </div>
60
	    </form>
61
 
62
	      <div class="partner-indent-container">
63
		</div>	 
64
	  </section>
65
 
66