From 80afd5d93b6a63297238c9bc1a6166c0851cf823 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Sat, 22 Mar 2025 15:34:02 +0000 Subject: [PATCH] [24.11] Bug 39421: Restore missing date picker on Circulation > Renew 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 PA amended: Squashed both patches for 24.11 --- 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 e587225f4b1..0328b2fcc6a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt @@ -232,6 +232,9 @@ [% END %] +
+ +
@@ -260,6 +263,7 @@
[% MACRO jsinclude BLOCK %] + [% Asset.js("js/pages/circulation.js") | $raw %] [% INCLUDE 'calendar.inc' %] [% IF error %]