Subversion Repositories SmartDukaan

Rev

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


 <script>
    $(document).ready(function() {
       $('#chckpartnercancelHead').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">Cancel Order</h4>
       </div>
       
       
 <div class="modal-body">
     <div class="col-lg-12">
            <div>
            <textarea class='form-control' rows='3' id='textNotifyCancellationMessage'>$notAvailableProcessingOrder.get(0).getLineItem().getItem().getItemDescription() is currently not in stock with the Brand. It is Expected in 3 working days.
 </textarea>
            </div>
        
     </div>
     <br>
  <div style="margin-top: 15px;"class="partner-selected-cancel-order-table">
   
      <div class = "row">
    
                        <div class="col-lg-12">
                
                     <table class="table  table-advance" id = "partner-cancel-order-table">
                                <tbody>
                                         <tr>
                                                <td><input type="checkbox" id="chckpartnercancelHead"/></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($orderModel in $notAvailableProcessingOrder )
                                                                <tr>
                                                                    <td> <input type="checkbox" class ="chcktbl" name="partnerCancelOrderCheck" /></td>
                                                                                <td>$orderModel.getLineItem().getItemId()</td>
                                                                                <td>$orderModel.getId()</td>
                                                                                <td>$orderModel.getLineItem().getItem().getItemDescription()</td>
                                                                                <td>$orderModel.getRetailerName()</td>
                                                                                <td>$orderModel.getLineItem().getQuantity()</td>
                                                                                <td>$orderModel.getRetailerCity()</td>
                                                                                <td>$orderModel.getRetailerState()</td>
                                                                                <td>$storeIdAndFofoIdMap.get($orderModel.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-order-request">Cancel</button>
                        <button type="button" class="btn btn-default notify-cancel-order-submit">Submit</button>
                   
           </div>