From c3badb0c570beada485cc71ea6b494da1d59f1b0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 4 Aug 2016 17:19:37 +0100 Subject: [PATCH] Bug 17052: Display patron category description in the sidebar of paycollect The patron category description is not passed to the template in paycollect.pl Note: The Categories TT plugin should be used here... Test plan: Go on paycollect.pl and confirm that the patron category description is now displayed in the sidebar. Signed-off-by: Owen Leonard Signed-off-by: Brendon Ford Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall --- members/paycollect.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/members/paycollect.pl b/members/paycollect.pl index 5dd565c36b..aafca6de99 100755 --- a/members/paycollect.pl +++ b/members/paycollect.pl @@ -149,6 +149,7 @@ $template->param(%$borrower); $template->param( borrowernumber => $borrowernumber, # some templates require global borrower => $borrower, + categoryname => $borrower->{description}, total => $total_due, activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''), RoutingSerials => C4::Context->preference('RoutingSerials'), -- 2.39.5