Subversion Repositories SmartDukaan

Rev

Rev 25640 | Rev 30601 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

 <script>
 
        
        $('input[name="procuredDate"]').daterangepicker(getSingleDatePicker(), dateRangeCallback);
        
        var object={timePicker: true,locale : {format : 'DD/MM/YYYY hh A'}};
      $('input[name="responseTime"]').daterangepicker($.extend(getSingleDatePicker(),object), dateRangeCallback);
      
      
      $(document).ready(function() {
   $('#chckHead').click(function () {
        if (this.checked == false) {
            $('.chcktbl:checked').attr('checked', false);
        }
        else {
            $('.chcktbl:not(:checked)').attr('checked', true);
        }
   
                  });
         });
       </script> 
 <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">Notify Order</h4>
       </div>
 <div class="modal-body">
  <div class = "row">
    <div style = "float:right; padding-right: 16px;">
      <input type="checkbox" name="overridemessage" id = "overridemessage"> Override the message
      </div>
    <div class="col-lg-12">
    
    
         <div style="border:1px; border-style:solid; border-color:#D3D3D3;padding: 2px;" id = "notifymessage">
          <p id = "notifymsg">$inProcessselectedOrder.get(0).getLineItem().getItem().getItemDescription() is currently not in stock.
The current availability is in <span id="colorValue"></span>. please click on it to change the color</p>  
            </div>
            <br>
            <div>
            <textarea class='form-control' rows='1' id='textnotifymessage'></textarea>
            </div>
        
     </div>
     </div>
   <div class="notify-order">
   
 
    
      <div class = "row">
                        <div class="col-lg-12">
                 
                     <table class="table  table-advance" id = "notify-table">
                                <tbody>
                                        <tr>
                                                <th>color</th>
                                                <th>Response Time</th>  
                                                <th>Procured Date</th>
                                        </tr>
                                #foreach( $request in $item )
                                                        <tr class="notifyOrder" data="$request.getId()">
                                                                <td><input type="checkbox" value="$request.getId()" name = "itemCheck">$request.getColor()</td>
                                                                <td><input placeholder="Response Time" id="responseTime" name="responseTime" type="text" value="" class="form-control input-sm"></td>
                                                            <td><input placeholder="Procured Date" id="procuredDate" name="procuredDate" type="text" value="" class="form-control input-sm"></td>
                                                        </tr>   
                                   #end
                        </tbody>
            </table>
        </div>  
</div>  
</div>


   <div class="selected-order-table">
   
      <div class = "row">
      <h4 class="modelHeaderCustom" style="font-size:22px;">In Process Order</h4>
        
                        <div class="col-lg-12">
                
                     <table class="table  table-advance" id = "notify-order-table">
                                <tbody>
                                         <tr>
                                                <td><input type="checkbox" id="chckHead"/></td>
                                                                <th>Item Id</th>
                                                        <th>OrderId</th>
                                                        <th>Description</th>
                                                        <th>Customer Name </th>
                                                        <th>Quantity</th>
                                                        <th>City</th>
                                                        <th>State</th>
                                                        <th>Store Code</th>
                                                        
                                                
                                                </tr>   
                                                        
                                        </thead>
                                                
                                                         #foreach($request in $inProcessselectedOrder )
                                                                <tr>
                                                                    <td> <input type="checkbox" class ="chcktbl" name="partnerCheck" /></td>
                                                                <td>$request.getLineItem().getItemId()</td>
                                                                <td>$request.getId()</td>
                                                                        <td>$request.getLineItem().getItem().getItemDescription()</td>
                                                                        <td>$request.getRetailerName()</td>
                                        <td>$request.getLineItem().getQuantity()</td>   
                                        <td>$request.getRetailerCity()</td>
                                        <td>$request.getRetailerState()</td>
                                        <td>$storeIdAndFofoIdMap.get($request.getRetailerId())</td>
                                       
                                                                
                                                        </tr>   
                                   #end
                        </tbody>
            </table>
        </div>  
</div>  
</div>
</div>  
        <div class="modal-footer">
                        <button type="button" data-dismiss="modal" class="btn btn-default notify-cancel">Cancel</button>
                        <button type="button"  class="btn btn-default notify-submit">Submit</button>
                   
           </div>