Subversion Repositories SmartDukaan

Rev

Rev 24917 | Rev 25406 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
24917 tejbeer 1
 <script>
2
 
3
 
4
        $('input[name="procuredDate"]').daterangepicker(getSingleDatePicker(), dateRangeCallback);
5
 
6
        var object={timePicker: true,locale : {format : 'DD/MM/YYYY hh A'}};
7
      $('input[name="responseTime"]').daterangepicker($.extend(getSingleDatePicker(),object), dateRangeCallback);
8
 
9
 
10
      $(document).ready(function() {
11
   $('#chckHead').click(function () {
12
        if (this.checked == false) {
13
            $('.chcktbl:checked').attr('checked', false);
14
        }
15
        else {
16
            $('.chcktbl:not(:checked)').attr('checked', true);
17
        }
18
 
19
		  });
20
	 });
21
       </script> 
22
 <div class="modal-header">
23
	        <button type="button" class="close" data-dismiss="modal">&times;</button>
24
	        <h4 class="modal-title">Notify Order</h4>
25
       </div>
26
 <div class="modal-body">
25066 tejbeer 27
  <div class = "row">
28
    <div style = "float:right; padding-right: 16px;">
29
      <input type="checkbox" name="overridemessage" id = "overridemessage"> Override the message
30
      </div>
31
    <div class="col-lg-12">
32
 
33
 
34
         <div style="border:1px; border-style:solid; border-color:#D3D3D3;padding: 2px;" id = "notifymessage">
35
          <p id = "notifymessage">$inProcessselectedOrder.get(0).getLineItem().getItem().getItemDescription() is currently not in stock with Brand/ND.
36
	    	  The current availability is in <span id="colorValue"></span></p>  
37
	    </div>
38
	    <br>
39
	    <div>
40
	    <textarea class='form-control' rows='1' id='textnotifymessage'></textarea>
41
	    </div>
42
 
43
     </div>
44
     </div>
24917 tejbeer 45
   <div class="notify-order">
25066 tejbeer 46
 
47
 
48
 
24917 tejbeer 49
      <div class = "row">
50
	    		<div class="col-lg-12">
25066 tejbeer 51
 
24917 tejbeer 52
	             <table class="table  table-advance" id = "notify-table">
53
	    			<tbody>
54
	    				<tr>
55
	    					<th>color</th>
56
	    					<th>Response Time</th>	
57
	    					<th>Procured Date</th>
58
	    				</tr>
59
	    	            	#foreach( $request in $item )
60
			    				<tr class="notifyOrder" data="$request.getId()">
61
			    					<td><input type="checkbox" value="$request.getId()" name = "itemCheck">$request.getColor()</td>
62
			    					<td><input placeholder="Response Time" id="responseTime" name="responseTime" type="text" value="" class="form-control input-sm"></td>
63
			    				    <td><input placeholder="Procured Date" id="procuredDate" name="procuredDate" type="text" value="" class="form-control input-sm"></td>
64
			    				</tr>	
65
			    	   #end
66
		    	</tbody>
67
	    </table>
68
	</div>	
69
</div>	
70
</div>
71
 
72
 
73
   <div class="selected-order-table">
74
 
75
      <div class = "row">
76
      <h4 class="modelHeaderCustom" style="font-size:22px;">In Process Order</h4>
77
 
78
	    		<div class="col-lg-12">
79
 
80
	             <table class="table  table-advance" id = "notify-order-table">
81
	    			<tbody>
82
	    				 <tr>
83
				                <td><input type="checkbox" id="chckHead"/></td>
84
								<th>Item Id</th>
85
	    						<th>OrderId</th>
86
	    						<th>Description</th>
87
	    						<th>Customer Name </th>
88
	    						<th>Quantity</th>
89
	    						<th>City</th>
90
	    						<th>State</th>
91
	    						<th>Store Code</th>
92
 
93
 
94
	    					</tr>	
95
 
96
				        </thead>
97
 
98
		    					 #foreach($request in $inProcessselectedOrder )
99
		    					 	<tr>
100
		    					 	    <td> <input type="checkbox" class ="chcktbl" name="partnerCheck" /></td>
101
		    					       	<td>$request.getLineItem().getItemId()</td>
102
		    					       	<td>$request.getId()</td>
103
		    					 		<td>$request.getLineItem().getItem().getItemDescription()</td>
104
		    					 		<td>$request.getRetailerName()</td>
105
                                        <td>$request.getLineItem().getQuantity()</td>	
106
                                        <td>$request.getRetailerCity()</td>
107
                                        <td>$request.getRetailerState()</td>
108
                                        <td>$storeIdAndFofoIdMap.get($request.getRetailerId())</td>
109
 
110
 
111
			    				</tr>	
112
			    	   #end
113
		    	</tbody>
114
	    </table>
115
	</div>	
116
</div>	
117
</div>
118
</div>	
119
	<div class="modal-footer">
120
		        <button type="button" data-dismiss="modal" class="btn btn-default notify-cancel">Cancel</button>
121
		        <button type="button" data-dismiss="modal"  class="btn btn-default notify-submit">Submit</button>
122
 
123
	   </div>