Subversion Repositories SmartDukaan

Rev

Rev 26721 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<script>
                $(document).ready(function() {
        $('#fofo-users').multiselect({
                includeSelectAllOption: true,
                maxHeight: 200,
                multiple:true,
                        buttonWidth: '180px',
                        numberDisplayed: 1,
                nonSelectedText: 'Users',
                nSelectedText: ' - Users Selected',
                allSelectedText: 'All Users Selected',
                enableFiltering: true,
                enableCaseInsensitiveFiltering : true
        });
        
        
            });
            
            $(document).ready(function() {
            var fofoId = $('#fofo-users').val()
            });
            
            
            
 </script>



<section class="wrapper">
        <div class="row">
                <div class="col-lg-12">
                        <h3 class="page-header"><i class="icon_document_alt"></i>PARTNER PURCHASE PLAN</h3>
                        <ol class="breadcrumb">
                                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
                                <li><i class="icon_document_alt"></i>Partner Purchase Plan</li>                                                 
                        </ol>
                </div>
        </div>
        <form id="allocation-form">
                <div id="customer-details" style="background:white;background-color:white;padding:10px;">
                        <h4 class="modelHeaderCustom" style="font-size:22px;">Allocation</h4>
                        <div>
                                <div class = "row">
                              <div class="col-lg-2 form-group">
                                        <select  class="form-control input-sm" id = "fofo-users" name = "fofo-users" placeholder="Partners" >
                                        <option value="" disabled selected>Partners</option>
                                        #foreach($fofoId in $customRetailersMap.keySet())
                                        <option value="$fofoId">$customRetailersMap.get($fofoId).getBusinessName()</option>
                                #end
                        </select>
                        
                     </div>
                     
                        <div class="col-lg-2">
                              <button class="btn btn-primary partnerAllocation" data-fofostorecode = "$fofoStoreMap.get($fofoId)" type="button" style="width:100%; border-radius:0px;">Submit</button>
                       </div>
                    </div>
                  </div>
                </div>
            </form>
            
              <div class="partner-indent-container">
                </div>   
          </section>