Lines 120-128
Link Here
|
120 |
<td><input type="radio" name="Line" value="aqbasket.closedate" /></td> |
120 |
<td><input type="radio" name="Line" value="aqbasket.closedate" /></td> |
121 |
<td><input type="radio" checked="checked" name="Column" value="aqbasket.closedate" /> </td> |
121 |
<td><input type="radio" checked="checked" name="Column" value="aqbasket.closedate" /> </td> |
122 |
<td> |
122 |
<td> |
123 |
From <input type="text" size="10" id="placedonfrom" name="Filter" value="" /> |
123 |
From <input type="text" size="10" id="placedonfrom" name="Filter" value="" class="flatpickr" data-start_for="placedonto" /> |
124 |
<span class="hint">[% INCLUDE 'date-format.inc' %]</span> |
124 |
<span class="hint">[% INCLUDE 'date-format.inc' %]</span> |
125 |
To <input size="10" id="placedonto" name="Filter" type="text" value="" /> |
125 |
To <input size="10" id="placedonto" name="Filter" type="text" value="" class="flatpickr" /> |
126 |
<span class="hint">[% INCLUDE 'date-format.inc' %]</span> |
126 |
<span class="hint">[% INCLUDE 'date-format.inc' %]</span> |
127 |
</td> |
127 |
</td> |
128 |
</tr> |
128 |
</tr> |
Lines 143-151
Link Here
|
143 |
<td><input type="radio" name="Line" value="aqorders.datereceived" /></td> |
143 |
<td><input type="radio" name="Line" value="aqorders.datereceived" /></td> |
144 |
<td><input type="radio" name="Column" value="aqorders.datereceived" /></td> |
144 |
<td><input type="radio" name="Column" value="aqorders.datereceived" /></td> |
145 |
<td> |
145 |
<td> |
146 |
From <input type="text" size="10" id="receivedonfrom" name="Filter" value="" /> |
146 |
From <input type="text" size="10" id="receivedonfrom" name="Filter" value="" class="flatpickr" data-start_for="receivedonto" /> |
147 |
<span class="hint">[% INCLUDE 'date-format.inc' %]</span> |
147 |
<span class="hint">[% INCLUDE 'date-format.inc' %]</span> |
148 |
To <input type="text" size="10" id="receivedonto" name="Filter" value="" /> |
148 |
To <input type="text" size="10" id="receivedonto" name="Filter" value="" class="flatpickr" /> |
149 |
<span class="hint">[% INCLUDE 'date-format.inc' %]</span> |
149 |
<span class="hint">[% INCLUDE 'date-format.inc' %]</span> |
150 |
</td> |
150 |
</td> |
151 |
</tr> |
151 |
</tr> |
Lines 339-371
Link Here
|
339 |
|
339 |
|
340 |
[% MACRO jsinclude BLOCK %] |
340 |
[% MACRO jsinclude BLOCK %] |
341 |
[% INCLUDE 'calendar.inc' %] |
341 |
[% INCLUDE 'calendar.inc' %] |
342 |
<script> |
|
|
343 |
$(document).ready(function() { |
344 |
var placedonfrom = $("#placedonfrom").flatpickr({ |
345 |
onClose: function( selectedDates, dateText, instance) { |
346 |
validate_date( selectedDates, instance ); |
347 |
placedonto.set('minDate', selectedDates[0]); |
348 |
} |
349 |
}); |
350 |
var placedonto = $("#placedonto").flatpickr({ |
351 |
onClose: function( selectedDates, dateText, instance) { |
352 |
validate_date( selectedDates, instance ); |
353 |
}, |
354 |
}); |
355 |
|
356 |
var receivedonfrom = $("#receivedonfrom").flatpickr({ |
357 |
onClose: function( selectedDates, dateText, instance) { |
358 |
validate_date( selectedDates, instance ); |
359 |
receivedonto.set('minDate', selectedDates[0]); |
360 |
} |
361 |
}); |
362 |
var receivedonto = $("#receivedonto").flatpickr({ |
363 |
onClose: function( selectedDates, dateText, instance) { |
364 |
validate_date( selectedDates, instance ); |
365 |
}, |
366 |
}); |
367 |
}); |
368 |
</script> |
369 |
[% END %] |
342 |
[% END %] |
370 |
|
343 |
|
371 |
[% INCLUDE 'intranet-bottom.inc' %] |
344 |
[% INCLUDE 'intranet-bottom.inc' %] |