@@ -, +, @@ - With or without the SpecifyDueDate system preference enabled the form should look correct. - With the SpecifyDueDate preference enabled you should see the date form below the barcode input field. - Select a date and test that the "Clear" button works to clear it. - Compare to the check-in page to confirm that they look consistent with each other. --- .../intranet-tmpl/prog/en/modules/circ/renew.tt | 31 +++++++++++++++------- 1 file changed, 22 insertions(+), 9 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt @@ -167,21 +167,29 @@
- Renew +

Renew

- [% IF Koha.Preference('SpecifyDueDate') %] - - -
- [% END %] +
+ +
- + - + + + [% IF Koha.Preference('SpecifyDueDate') %] +
+
+
+ + +
+
+ [% END %] -
+
[% END %] @@ -233,6 +241,11 @@ }).on("change", function(e, value) { if ( ! is_valid_date( $(this).val() ) ) {$(this).val("");} }); + $("#cleardate").on("click",function(e){ + e.preventDefault(); + this.form.hard_due_date.value = ''; + this.form.barcode.focus(); + }); [% END %] }); --