Subversion Repositories SmartDukaan

Rev

Rev 26031 | Go to most recent revision | Details | Compare with Previous | 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>
26043 tejbeer 25
	    <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.
26
 </textarea>
26031 tejbeer 27
	    </div>
28
 
29
     </div>
30
     <br>
31
  <div style="margin-top: 15px;"class="partner-selected-cancel-order-table">
32
 
33
      <div class = "row">
34
 
35
	    		<div class="col-lg-12">
36
 
37
	             <table class="table  table-advance" id = "partner-cancel-order-table">
38
	    			<tbody>
39
	    				 <tr>
40
				                <td><input type="checkbox" id="chckpartnercancelHead"/></td>
41
								<th>Item Id</th>
42
	    						<th>OrderId</th>
43
	    						<th>Description</th>
44
	    						<th>Customer Name </th>
45
	    						<th>Quantity</th>
46
	    						<th>City</th>
47
	    						<th>State</th>
48
	    						<th>Store Code</th>
49
 
50
 
51
	    					</tr>	
52
 
53
				        </thead>
54
 
55
		    					 #foreach($request in $notAvailableProcessingOrder )
56
		    					 	<tr>
57
		    					 	    <td> <input type="checkbox" class ="chcktbl" name="partnerCancelOrderCheck" /></td>
58
		    					       	<td>$request.getLineItem().getItemId()</td>
59
		    					       	<td>$request.getId()</td>
60
		    					 		<td>$request.getLineItem().getItem().getItemDescription()</td>
61
		    					 		<td>$request.getRetailerName()</td>
62
                                        <td>$request.getLineItem().getQuantity()</td>	
63
                                        <td>$request.getRetailerCity()</td>
64
                                        <td>$request.getRetailerState()</td>
65
                                        <td>$storeIdAndFofoIdMap.get($request.getRetailerId())</td>
66
 
67
 
68
			    				</tr>	
69
			    	   #end
70
		    	</tbody>
71
	    </table>
72
	</div>	
73
</div>	
74
</div>
75
</div>	
76
	<div class="modal-footer">
77
		        <button type="button" data-dismiss="modal" class="btn btn-default notify-cancel-order-request">Cancel</button>
78
		        <button type="button" class="btn btn-default notify-cancel-order-submit">Submit</button>
79
 
80
	   </div>