Summary: | Pre-select items with due date today in the renew column on details page and on checkout page | ||
---|---|---|---|
Product: | Koha | Reporter: | Reetta Pihlaja <reetta.pihlaja> |
Component: | Circulation | Assignee: | Katariina Pohto <katariina.pohto> |
Status: | Needs documenting --- | QA Contact: | Laura Escamilla <Laura.escamilla> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | gmcharlt, katariina.pohto, kyle.m.hall, Laura.escamilla, lisette, lucas, reetta.pihlaja |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: |
This enhancement selects items that are due today on the patron checkout and details screens, allowing librarians to renew items due today without additional clicks. This mirrors the behavior for overdue items on the same pages.
|
Version(s) released in: |
24.11.00
|
Circulation function: | |||
Attachments: |
Bug 35931: More preselected items in the renew column on patron checkouts
Bug 35931: More preselected items in the renew column on patron checkouts Looks great! Passing QA. |
Description
Reetta Pihlaja
2024-01-29 12:16:10 UTC
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! |