From 88004a145e0d33d96227077a43d5e4a3277ea07f Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Sat, 22 Mar 2025 15:34:02 +0000 Subject: [PATCH] Bug 39421: Restore missing date picker on Circulation > Renew Content-Type: text/plain; charset=utf-8 This patch restores the renewal date input field (with a date picker) for Circulation > Renew. This was missing. It changes the behavor slightly so that it mirrors Circulation > Check in. A settings icon is included in the barcode field, clicking this then shows the date field with the date picker (and any other options). Previously on the renewals page (24.05.x and earlier), there was no settings icon in the barcode field and the date input field with date picker was already shown. This user interface pattern is used elsewhere in Koha, and this chnage will help improve consistency. Test plan: 1. Browse to Circulation > Check in. 2. Note the settings icon in the barcode form field. 3. Click it to show the the return date field with a date picker, and other options. 4. Browse to Circulation > Renew. 5. Note there is no settings icon. 6. Apply the patch. 7. Repeat step 4 - note that there is now a settings icon. 8. Click the settings icon to show the renewal date form field. 9. Click the input field to show teh date picker. Signed-off-by: David Nind Signed-off-by: Marcel de Rooy --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt index b16bf80201..ae6a4a9093 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt @@ -209,6 +209,9 @@ [% END %] +
+ +
@@ -233,6 +236,7 @@ [% END %] [% MACRO jsinclude BLOCK %] + [% Asset.js("js/pages/circulation.js") | $raw %] [% INCLUDE 'calendar.inc' %] [% IF error %]