From 527cd879bb832feb1a73afb85ffb948bb4c0ee64 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 (cherry picked from commit c3badb0c570beada485cc71ea6b494da1d59f1b0) Signed-off-by: Frédéric Demians --- 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