From 3f585d44e8f5f04b47a9f949dc6dcd8a1b3cbf7a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 19 Aug 2016 12:43:24 +0100 Subject: [PATCH] Bug 16990: Display branch names instead of code in patron mod requests To test: - change your homebranch in the OPAC, submit - change patron modification request in the staff client - Verify that it shows the old and new branch name instead of the code Signed-off-by: Aleisha Amohia Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall --- .../intranet-tmpl/prog/en/modules/members/members-update.tt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt index 47a5a07889..736cd6e568 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt @@ -108,6 +108,9 @@ [% IF ( key == "dateofbirth" ) %] [% borrowers.$borrowernumber.$key | $KohaDates %] [% pm.$key | $KohaDates %] + [% ELSIF key == 'branchcode' %] + [% Branches.GetName( borrowers.$borrowernumber.$key ) %] + [% Branches.GetName( pm.$key ) %] [% ELSE %] [% borrowers.$borrowernumber.$key %] [% pm.$key %] -- 2.39.5