Lines 168-178
Link Here
|
168 |
<input type="text" size="10" id="merge_invoicenumber" name="invoicenumber" value="" class="required" required="required" /> |
168 |
<input type="text" size="10" id="merge_invoicenumber" name="invoicenumber" value="" class="required" required="required" /> |
169 |
<span class="required">Required</span> |
169 |
<span class="required">Required</span> |
170 |
</li> |
170 |
</li> |
171 |
<li><label for="merge_shipmentdate">Shipment date:</label> |
171 |
<li> |
172 |
<input type="text" size="10" id="merge_shipmentdate" name="shipmentdate" value="" class="datepicker" /></li> |
172 |
<label for="merge_shipmentdate">Shipment date:</label> |
|
|
173 |
<input type="text" size="10" id="merge_shipmentdate" name="shipmentdate" value="" class="flatpickr" /> |
174 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
175 |
</li> |
173 |
|
176 |
|
174 |
<li><label for="merge_billingdate">Billing date:</label> |
177 |
<li> |
175 |
<input type="text" size="10" id="merge_billingdate" name="billingdate" value="" class="datepicker" /></li> |
178 |
<label for="merge_billingdate">Billing date:</label> |
|
|
179 |
<input type="text" size="10" id="merge_billingdate" name="billingdate" value="" class="flatpickr" /> |
180 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
181 |
</li> |
176 |
|
182 |
|
177 |
<li><label for="merge_shipmentcost">Shipment cost:</label> |
183 |
<li><label for="merge_shipmentcost">Shipment cost:</label> |
178 |
<input type="text" size="10" id="merge_shipmentcost" name="shipmentcost" value="" /></li> |
184 |
<input type="text" size="10" id="merge_shipmentcost" name="shipmentcost" value="" /></li> |
Lines 291-301
Link Here
|
291 |
<ol> |
297 |
<ol> |
292 |
<li> |
298 |
<li> |
293 |
<label for="shipmentdatefrom">From:</label> |
299 |
<label for="shipmentdatefrom">From:</label> |
294 |
<input type="text" id="shipmentdatefrom" name="shipmentdatefrom" size="10" value="[% shipmentdatefrom | $KohaDates %]" class="datepicker" /> |
300 |
<input type="text" id="shipmentdatefrom" name="shipmentdatefrom" size="10" value="[% shipmentdatefrom | $KohaDates %]" /> |
|
|
301 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
295 |
</li> |
302 |
</li> |
296 |
<li> |
303 |
<li> |
297 |
<label for="shipmentdateto">To:</label> |
304 |
<label for="shipmentdateto">To:</label> |
298 |
<input type="text" id="shipmentdateto" name="shipmentdateto" size="10" value="[% shipmentdateto | $KohaDates %]" class="datepicker" /> |
305 |
<input type="text" id="shipmentdateto" name="shipmentdateto" size="10" value="[% shipmentdateto | $KohaDates %]" /> |
|
|
306 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
299 |
</li> |
307 |
</li> |
300 |
</ol> |
308 |
</ol> |
301 |
</fieldset> |
309 |
</fieldset> |
Lines 306-316
Link Here
|
306 |
<ol> |
314 |
<ol> |
307 |
<li> |
315 |
<li> |
308 |
<label for="billingdatefrom">From:</label> |
316 |
<label for="billingdatefrom">From:</label> |
309 |
<input type="text" id="billingdatefrom" name="billingdatefrom" size="10" value="[% billingdatefrom | $KohaDates %]" class="datepicker" /> |
317 |
<input type="text" id="billingdatefrom" name="billingdatefrom" size="10" value="[% billingdatefrom | $KohaDates %]" /> |
|
|
318 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
310 |
</li> |
319 |
</li> |
311 |
<li> |
320 |
<li> |
312 |
<label for="billingdateto">To:</label> |
321 |
<label for="billingdateto">To:</label> |
313 |
<input type="text" id="billingdateto" name="billingdateto" size="10" value="[% billingdateto | $KohaDates %]" class="datepicker" /> |
322 |
<input type="text" id="billingdateto" name="billingdateto" size="10" value="[% billingdateto | $KohaDates %]" /> |
|
|
323 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
314 |
</li> |
324 |
</li> |
315 |
</ol> |
325 |
</ol> |
316 |
</fieldset> |
326 |
</fieldset> |
Lines 449-454
Link Here
|
449 |
$('#merge_invoices').show(); |
459 |
$('#merge_invoices').show(); |
450 |
} |
460 |
} |
451 |
}); |
461 |
}); |
|
|
462 |
var shipmentdatefrom = $("#shipmentdatefrom").flatpickr({ |
463 |
onClose: function( selectedDates, dateText, instance) { |
464 |
validate_date( selectedDates, instance ); |
465 |
shipmentdateto.set('minDate', selectedDates[0]); |
466 |
} |
467 |
}); |
468 |
var shipmentdateto = $("#shipmentdateto").flatpickr({ |
469 |
onClose: function( selectedDates, dateText, instance) { |
470 |
validate_date( selectedDates, instance ); |
471 |
}, |
472 |
}); |
473 |
var billingdatefrom = $("#billingdatefrom").flatpickr({ |
474 |
onClose: function( selectedDates, dateText, instance) { |
475 |
validate_date( selectedDates, instance ); |
476 |
billingdateto.set('minDate', selectedDates[0]); |
477 |
} |
478 |
}); |
479 |
var billingdateto = $("#billingdateto").flatpickr({ |
480 |
onClose: function( selectedDates, dateText, instance) { |
481 |
validate_date( selectedDates, instance ); |
482 |
}, |
483 |
}); |
452 |
}); |
484 |
}); |
453 |
</script> |
485 |
</script> |
454 |
[% END %] |
486 |
[% END %] |