When viewing and renewing patron's checkouts on details page or on checkout page, only the items with past due dates are preselected as a default in the renew column. Would it be possible to preselect also the items with current due dates here, as a default? This would help a lot at the customer service.
Created attachment 166143 [details] [review] Bug 35931: More preselected items in the renew column on patron checkouts This patch adds a boolean variable for checking if the due date is the current day in a similar way there's one for checking if it's overdue. Then autochecks Renew column for both overdue and due today checkouts. Also bolding the due date for the checkouts due the current date, so they can be easily distinguished from other due dates. Test plan: 1) See/create a patron with several checkouts: overdue, due today and due later. 2) Note that only the overdue checkouts have a checkmark on Renew column when loading the table. 3) Apply patch. 4) Load the checkouts table again. Note that now also the checkout due today has a preselected renewal checkmark and the due date has been bolded.
Created attachment 166782 [details] [review] Bug 35931: More preselected items in the renew column on patron checkouts When viewing patron checkouts table from details or circulation page, overdue checkouts are preselected for renewals and the overdue dates are bolded and red. This patch will enable also preselecting checkouts that are due on the current day. The due dates for these checkouts will be bolded but not red. Test plan: 1) See/create a patron with several checkouts: overdue, due today and due later. 2) Note that only the overdue checkouts have a checkmark on Renew column when loading the table. 3) Apply patch. 4) Load the checkouts table again. Note that now also the checkout due today has a preselected renewal checkmark and the due date has been bolded. Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Created attachment 170087 [details] [review] Looks great! Passing QA. Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>
Hi Katharina, thanks for the patch! Just a note: trainee@koha-suomi.fi looks like a general email address that might be re-used by another person in the future. Please consider using a personal email so that we can map and make sure attributions show under your name :)
Pushed for 24.11! Well done everyone, thank you!