Subversion Repositories SmartDukaan

Rev

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

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