| 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">×</button>
|
|
|
24 |
<h4 class="modal-title">Notify Order</h4>
|
|
|
25 |
</div>
|
|
|
26 |
<div class="modal-body">
|
|
|
27 |
<div class="notify-order">
|
|
|
28 |
<div class = "row">
|
|
|
29 |
<div class="col-lg-12">
|
|
|
30 |
|
|
|
31 |
<table class="table table-advance" id = "notify-table">
|
|
|
32 |
<tbody>
|
|
|
33 |
<tr>
|
|
|
34 |
<th>color</th>
|
|
|
35 |
<th>Response Time</th>
|
|
|
36 |
<th>Procured Date</th>
|
|
|
37 |
</tr>
|
|
|
38 |
#foreach( $request in $item )
|
|
|
39 |
<tr class="notifyOrder" data="$request.getId()">
|
|
|
40 |
<td><input type="checkbox" value="$request.getId()" name = "itemCheck">$request.getColor()</td>
|
|
|
41 |
<td><input placeholder="Response Time" id="responseTime" name="responseTime" type="text" value="" class="form-control input-sm"></td>
|
|
|
42 |
<td><input placeholder="Procured Date" id="procuredDate" name="procuredDate" type="text" value="" class="form-control input-sm"></td>
|
|
|
43 |
</tr>
|
|
|
44 |
#end
|
|
|
45 |
</tbody>
|
|
|
46 |
</table>
|
|
|
47 |
</div>
|
|
|
48 |
</div>
|
|
|
49 |
</div>
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
<div class="selected-order-table">
|
|
|
53 |
|
|
|
54 |
<div class = "row">
|
|
|
55 |
<h4 class="modelHeaderCustom" style="font-size:22px;">In Process Order</h4>
|
|
|
56 |
|
|
|
57 |
<div class="col-lg-12">
|
|
|
58 |
|
|
|
59 |
<table class="table table-advance" id = "notify-order-table">
|
|
|
60 |
<tbody>
|
|
|
61 |
<tr>
|
|
|
62 |
<td><input type="checkbox" id="chckHead"/></td>
|
|
|
63 |
<th>Item Id</th>
|
|
|
64 |
<th>OrderId</th>
|
|
|
65 |
<th>Description</th>
|
|
|
66 |
<th>Customer Name </th>
|
|
|
67 |
<th>Quantity</th>
|
|
|
68 |
<th>City</th>
|
|
|
69 |
<th>State</th>
|
|
|
70 |
<th>Store Code</th>
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
</tr>
|
|
|
74 |
|
|
|
75 |
</thead>
|
|
|
76 |
|
|
|
77 |
#foreach($request in $inProcessselectedOrder )
|
|
|
78 |
<tr>
|
|
|
79 |
<td> <input type="checkbox" class ="chcktbl" name="partnerCheck" /></td>
|
|
|
80 |
<td>$request.getLineItem().getItemId()</td>
|
|
|
81 |
<td>$request.getId()</td>
|
|
|
82 |
<td>$request.getLineItem().getItem().getItemDescription()</td>
|
|
|
83 |
<td>$request.getRetailerName()</td>
|
|
|
84 |
<td>$request.getLineItem().getQuantity()</td>
|
|
|
85 |
<td>$request.getRetailerCity()</td>
|
|
|
86 |
<td>$request.getRetailerState()</td>
|
|
|
87 |
<td>$storeIdAndFofoIdMap.get($request.getRetailerId())</td>
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
</tr>
|
|
|
91 |
#end
|
|
|
92 |
</tbody>
|
|
|
93 |
</table>
|
|
|
94 |
</div>
|
|
|
95 |
</div>
|
|
|
96 |
</div>
|
|
|
97 |
</div>
|
|
|
98 |
<div class="modal-footer">
|
|
|
99 |
<button type="button" data-dismiss="modal" class="btn btn-default notify-cancel">Cancel</button>
|
|
|
100 |
<button type="button" data-dismiss="modal" class="btn btn-default notify-submit">Submit</button>
|
|
|
101 |
|
|
|
102 |
</div>
|