|
Lines 125-133
Link Here
|
| 125 |
<td><input type="radio" name="Column" value="reservedate" /></td> |
125 |
<td><input type="radio" name="Column" value="reservedate" /></td> |
| 126 |
<td> |
126 |
<td> |
| 127 |
<label for="filter_reservedate_begin">From</label> |
127 |
<label for="filter_reservedate_begin">From</label> |
| 128 |
<input type="text" size="10" id="filter_reservedate_begin" name="filter_reservedate_begin" /> |
128 |
<input type="text" size="10" id="filter_reservedate_begin" data-start_for="filter_reservedate_end" name="filter_reservedate_begin" class="flatpickr" /> |
|
|
129 |
|
| 129 |
<label for="filter_reservedate_end">To</label> |
130 |
<label for="filter_reservedate_end">To</label> |
| 130 |
<input size="10" id="filter_reservedate_end" name="filter_reservedate_end" value="" type="text" /> |
131 |
<input size="10" id="filter_reservedate_end" name="filter_reservedate_end" value="" type="text" class="flatpickr" /> |
| 131 |
</td> |
132 |
</td> |
| 132 |
</tr> |
133 |
</tr> |
| 133 |
<tr> |
134 |
<tr> |
|
Lines 136-144
Link Here
|
| 136 |
<td><input type="radio" name="Column" value="notificationdate" /></td> |
137 |
<td><input type="radio" name="Column" value="notificationdate" /></td> |
| 137 |
<td> |
138 |
<td> |
| 138 |
<label for="filter_notificationdate_begin">From</label> |
139 |
<label for="filter_notificationdate_begin">From</label> |
| 139 |
<input type="text" size="10" id="filter_notificationdate_begin" name="filter_notificationdate_begin" /> |
140 |
<input type="text" size="10" id="filter_notificationdate_begin" name="filter_notificationdate_begin" data-start_for="filter_notificationdate_end" class="flatpickr" /> |
|
|
141 |
|
| 140 |
<label for="filter_notificationdate_end">To</label> |
142 |
<label for="filter_notificationdate_end">To</label> |
| 141 |
<input size="10" id="filter_notificationdate_end" name="filter_notificationdate_end" value="" type="text" /> |
143 |
<input size="10" id="filter_notificationdate_end" name="filter_notificationdate_end" value="" type="text" class="flatpickr" /> |
| 142 |
</td> |
144 |
</td> |
| 143 |
</tr> |
145 |
</tr> |
| 144 |
<tr> |
146 |
<tr> |
|
Lines 147-155
Link Here
|
| 147 |
<td><input type="radio" name="Column" value="reminderdate" /></td> |
149 |
<td><input type="radio" name="Column" value="reminderdate" /></td> |
| 148 |
<td> |
150 |
<td> |
| 149 |
<label for="filter_reminderdate_begin">From</label> |
151 |
<label for="filter_reminderdate_begin">From</label> |
| 150 |
<input type="text" size="10" id="filter_reminderdate_begin" name="Filter" /> |
152 |
<input type="text" size="10" id="filter_reminderdate_begin" name="Filter" data-start_for="filter_reminderdate_end" class="flatpickr" /> |
|
|
153 |
|
| 151 |
<label for="filter_reminderdate_end">To</label> |
154 |
<label for="filter_reminderdate_end">To</label> |
| 152 |
<input size="10" id="filter_reminderdate_end" name="filter_reminderdate_end" value="" type="text" /> |
155 |
<input size="10" id="filter_reminderdate_end" name="filter_reminderdate_end" value="" type="text" class="flatpickr" /> |
| 153 |
</td> |
156 |
</td> |
| 154 |
</tr> |
157 |
</tr> |
| 155 |
<tr> |
158 |
<tr> |
|
Lines 158-166
Link Here
|
| 158 |
<td><input type="radio" name="Column" value="waitingdate" /></td> |
161 |
<td><input type="radio" name="Column" value="waitingdate" /></td> |
| 159 |
<td> |
162 |
<td> |
| 160 |
<label for="filter_waitingdate_begin">From</label> |
163 |
<label for="filter_waitingdate_begin">From</label> |
| 161 |
<input type="text" size="10" id="filter_waitingdate_begin" name="filter_waitingdate_begin" /> |
164 |
<input type="text" size="10" id="filter_waitingdate_begin" name="filter_waitingdate_begin" data-start_for="filter_waitingdate_end" class="flatpickr" /> |
|
|
165 |
|
| 162 |
<label for="filter_waitingdate_end">To</label> |
166 |
<label for="filter_waitingdate_end">To</label> |
| 163 |
<input size="10" id="filter_waitingdate_end" name="filter_waitingdate_end" value="" type="text" /> |
167 |
<input size="10" id="filter_waitingdate_end" name="filter_waitingdate_end" value="" type="text" class="flatpickr" /> |
| 164 |
</td> |
168 |
</td> |
| 165 |
</tr> |
169 |
</tr> |
| 166 |
<tr> |
170 |
<tr> |
|
Lines 169-177
Link Here
|
| 169 |
<td><input type="radio" name="Column" value="cancellationdate" /></td> |
173 |
<td><input type="radio" name="Column" value="cancellationdate" /></td> |
| 170 |
<td> |
174 |
<td> |
| 171 |
<label for="filter_cancellationdate_begin">From</label> |
175 |
<label for="filter_cancellationdate_begin">From</label> |
| 172 |
<input type="text" size="10" id="filter_cancellationdate_begin" name="filter_cancellationdate_begin" /> |
176 |
<input type="text" size="10" id="filter_cancellationdate_begin" name="filter_cancellationdate_begin" data-start_for="filter_cancellationdate_end" class="flatpickr" /> |
|
|
177 |
|
| 173 |
<label for="filter_cancellationdate_end">To</label> |
178 |
<label for="filter_cancellationdate_end">To</label> |
| 174 |
<input size="10" id="filter_cancellationdate_end" name="filter_cancellationdate_end" value="" type="text" /> |
179 |
<input size="10" id="filter_cancellationdate_end" name="filter_cancellationdate_end" value="" type="text" class="flatpickr" /> |
| 175 |
</td> |
180 |
</td> |
| 176 |
</tr> |
181 |
</tr> |
| 177 |
<tr> |
182 |
<tr> |
|
Lines 338-406
Link Here
|
| 338 |
|
343 |
|
| 339 |
[% MACRO jsinclude BLOCK %] |
344 |
[% MACRO jsinclude BLOCK %] |
| 340 |
[% INCLUDE 'calendar.inc' %] |
345 |
[% INCLUDE 'calendar.inc' %] |
| 341 |
<script> |
|
|
| 342 |
$(document).ready(function() { |
| 343 |
var filter_reservedate_begin = $("#filter_reservedate_begin").flatpickr({ |
| 344 |
onClose: function( selectedDates, dateText, instance) { |
| 345 |
validate_date( selectedDates, instance ); |
| 346 |
filter_reservedate_end.set('minDate', selectedDates[0]); |
| 347 |
} |
| 348 |
}); |
| 349 |
var filter_reservedate_end = $("#filter_reservedate_end").flatpickr({ |
| 350 |
onClose: function( selectedDates, dateText, instance) { |
| 351 |
validate_date( selectedDates, instance ); |
| 352 |
}, |
| 353 |
}); |
| 354 |
|
| 355 |
var filter_notificationdate_begin = $("#filter_notificationdate_begin").flatpickr({ |
| 356 |
onClose: function( selectedDates, dateText, instance) { |
| 357 |
validate_date( selectedDates, instance ); |
| 358 |
filter_notificationdate_end.set('minDate', selectedDates[0]); |
| 359 |
} |
| 360 |
}); |
| 361 |
var filter_notificationdate_end = $("#filter_notificationdate_end").flatpickr({ |
| 362 |
onClose: function( selectedDates, dateText, instance) { |
| 363 |
validate_date( selectedDates, instance ); |
| 364 |
}, |
| 365 |
}); |
| 366 |
|
| 367 |
var filter_reminderdate_begin = $("#filter_reminderdate_begin").flatpickr({ |
| 368 |
onClose: function( selectedDates, dateText, instance) { |
| 369 |
validate_date( selectedDates, instance ); |
| 370 |
filter_reminderdate_end.set('minDate', selectedDates[0]); |
| 371 |
} |
| 372 |
}); |
| 373 |
var filter_reminderdate_end = $("#filter_reminderdate_end").flatpickr({ |
| 374 |
onClose: function( selectedDates, dateText, instance) { |
| 375 |
validate_date( selectedDates, instance ); |
| 376 |
}, |
| 377 |
}); |
| 378 |
|
| 379 |
var filter_waitingdate_begin = $("#filter_waitingdate_begin").flatpickr({ |
| 380 |
onClose: function( selectedDates, dateText, instance) { |
| 381 |
validate_date( selectedDates, instance ); |
| 382 |
filter_waitingdate_end.set('minDate', selectedDates[0]); |
| 383 |
} |
| 384 |
}); |
| 385 |
var filter_waitingdate_end = $("#filter_waitingdate_end").flatpickr({ |
| 386 |
onClose: function( selectedDates, dateText, instance) { |
| 387 |
validate_date( selectedDates, instance ); |
| 388 |
}, |
| 389 |
}); |
| 390 |
|
| 391 |
var filter_cancellationdate_begin = $("#filter_cancellationdate_begin").flatpickr({ |
| 392 |
onClose: function( selectedDates, dateText, instance) { |
| 393 |
validate_date( selectedDates, instance ); |
| 394 |
filter_cancellationdate_end.set('minDate', selectedDates[0]); |
| 395 |
} |
| 396 |
}); |
| 397 |
var filter_cancellationdate_end = $("#filter_cancellationdate_end").flatpickr({ |
| 398 |
onClose: function( selectedDates, dateText, instance) { |
| 399 |
validate_date( selectedDates, instance ); |
| 400 |
}, |
| 401 |
}); |
| 402 |
}); |
| 403 |
</script> |
| 404 |
[% END %] |
346 |
[% END %] |
| 405 |
|
347 |
|
| 406 |
[% INCLUDE 'intranet-bottom.inc' %] |
348 |
[% INCLUDE 'intranet-bottom.inc' %] |
| 407 |
- |
|
|