From 464f9296d40582dd318f495151fcc46ade09c4f6 Mon Sep 17 00:00:00 2001 From: Eric Garcia Date: Mon, 1 Jul 2024 17:53:30 +0000 Subject: [PATCH] Bug 37126: Add link to patron account when checking out to statistical patron ends checkout When checking out an item to a statistical patron, where that item is already checked out to another patron, the patron details in the message do not link to that patron. This patch fixes this so that the patron details are now linked. This could be useful so that staff can more easily access the patron's details, and can, for example, check for any incorrect charges. Test plan: 1. Set up a statistical patron for local use:[1] 1.1 Add a statistical patron category (Administration > Patrons and circulation > Patron categories), for example: - Category code: STAT - Description: Statistical - Enrollment period: 99 - Category type: Statistical 1.2 Add a new statistical paton (Patrons > +New patron > Statistical), for example: - Surname: Reference Statistical Patron - Card number: refstat 2. Check out an item to a standard patron. 3. Check out the same item to the statistical patron created in step 1.2. 4. Note that when the item is checked out to the statistical patron, the patron name and number in the message are not linked: "Item checked in from: PATRON_NAME (BORROWERNUMBER)". 5. Apply the patch. 6. Repeat steps 2 and 3. 7. Note that the patron details in the message are now linked. [1] Monday Minutes: Statistical Patron and Local Use: https://bywatersolutions.com/education/monday-minutes-statistical-patron-and-local-use Signed-off-by: David Nind Signed-off-by: Emily Lamancusa Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index d61b0df64b..c7679844ff 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -473,7 +473,7 @@ [% IF ( STATS ) %]
  • Local use recorded
  • [% IF ( CHECKEDIN ) %] -
  • Item checked in from: [% INCLUDE 'patron-title.inc' patron=BORROWER %]
  • +
  • Item checked in from: [% INCLUDE 'patron-title.inc' patron=BORROWER %]
  • [% END %] [% IF ( MESSAGES.ResFound ) %]
  • Item on hold, please checkin.
  • -- 2.39.5