Subversion Repositories SmartDukaan

Rev

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

<script>
    $(document).ready(function() {
       $('#chckcancelHead').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">Update Notify</h4>
       </div>
       
       
 <div class="modal-body">
  
  <div style="margin-top: 15px;"class="cancel-order-table">
   
      <div class = "row">
    
                        <div class="col-lg-12">
                
                     <table class="table  table-advance" id = "notify-cancel-order-list-table">
                                <tbody>
                                         <tr>
                                                <td><input type="checkbox" id="chckcancelHead"/></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($notifyItemsModel in $notifyItems )
                                                                <tr>
                                                                    <td> <input type="checkbox" class ="chcktbl" name="cancelOrderCheck" /></td>
                                                                                <td>$notifyItemsModel.getItemId()</td>
                                                                                <td>$notifyItemsModel.getOrderId()</td>
                                                                                <td>$orders.get($notifyItemsModel.getOrderId()).getLineItem().getItem().getItemDescription()</td>
                                                                                <td>$orders.get($notifyItemsModel.getOrderId()).getRetailerName()</td>
                                                                                <td>$orders.get($notifyItemsModel.getOrderId()).getLineItem().getQuantity()</td>
                                                                                <td>$orders.get($notifyItemsModel.getOrderId()).getRetailerCity()</td>
                                                                                <td>$orders.get($notifyItemsModel.getOrderId()).getRetailerState()</td>
                                                                                <td>$storeIdAndFofoIdMap.get($notifyItemsModel.getFofoId())</td>
                                       
                                                                
                                                        </tr>   
                                   #end
                        </tbody>
            </table>
        </div>  
</div>  
</div>
</div>  
        <div class="modal-footer">
                        <button type="button" data-dismiss="modal" class="btn btn-default cancel-request">Cancel</button>
                        <button type="button" class="btn btn-default change-notify-request">Submit</button>
                   
           </div>