Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
26039 tejbeer 1
<script>
2
    $(document).ready(function() {
3
       $('#chckcancelHead').click(function () {
4
        if (this.checked == false) {
5
            $('.chcktbl:checked').attr('checked', false);
6
        }
7
        else {
8
            $('.chcktbl:not(:checked)').attr('checked', true);
9
        }
10
 
11
		  });
12
	 });
13
</script>
14
 
15
 
16
 <div class="modal-header">
17
	        <button type="button" class="close" data-dismiss="modal">&times;</button>
18
	        <h4 class="modal-title">Update Notify</h4>
19
       </div>
20
 
21
 
22
 <div class="modal-body">
23
 
24
  <div style="margin-top: 15px;"class="cancel-order-table">
25
 
26
      <div class = "row">
27
 
28
	    		<div class="col-lg-12">
29
 
30
	             <table class="table  table-advance" id = "notify-cancel-order-list-table">
31
	    			<tbody>
32
	    				 <tr>
33
				                <td><input type="checkbox" id="chckcancelHead"/></td>
34
								<th>Item Id</th>
35
	    						<th>OrderId</th>
36
	    						<th>Description</th>
37
	    						<th>Customer Name </th>
38
	    						<th>Quantity</th>
39
	    						<th>City</th>
40
	    						<th>State</th>
41
	    						<th>Store Code</th>
42
 
43
 
44
	    					</tr>	
45
 
46
				        </thead>
47
 
48
		    					 #foreach($request in $notifyItems )
49
		    					 	<tr>
50
		    					 	    <td> <input type="checkbox" class ="chcktbl" name="cancelOrderCheck" /></td>
51
		    					       	<td>$request.getItemId()</td>
52
		    					       	<td>$request.getOrderId()</td>
53
		    					 		<td>$orders.get($request.getOrderId()).getLineItem().getItem().getItemDescription()</td>
54
		    					 		<td>$orders.get($request.getOrderId()).getRetailerName()</td>
55
                                        <td>$orders.get($request.getOrderId()).getLineItem().getQuantity()</td>	
56
                                        <td>$orders.get($request.getOrderId()).getRetailerCity()</td>
57
                                        <td>$orders.get($request.getOrderId()).getRetailerState()</td>
58
                                        <td>$storeIdAndFofoIdMap.get($request.getFofoId())</td>
59
 
60
 
61
			    				</tr>	
62
			    	   #end
63
		    	</tbody>
64
	    </table>
65
	</div>	
66
</div>	
67
</div>
68
</div>	
69
	<div class="modal-footer">
70
		        <button type="button" data-dismiss="modal" class="btn btn-default cancel-request">Cancel</button>
71
		        <button type="button" class="btn btn-default change-notify-request">Submit</button>
72
 
73
	   </div>