Bugzilla – Attachment 54627 Details for
Bug 16990
Show branch name instead of branch code when managing patron modification requests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16990: Display branch names instead of code in patron mod requests
Bug-16990-Display-branch-names-instead-of-code-in-.patch (text/plain), 1.79 KB, created by
Jonathan Druart
on 2016-08-19 11:44:33 UTC
(
hide
)
Description:
Bug 16990: Display branch names instead of code in patron mod requests
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-08-19 11:44:33 UTC
Size:
1.79 KB
patch
obsolete
>From 12a45746349dbc43d02e8607194ad90095a0db91 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 >--- > koha-tmpl/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 47a5a07..736cd6e 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" ) %] > <td>[% borrowers.$borrowernumber.$key | $KohaDates %]</td> > <td>[% pm.$key | $KohaDates %]</td> >+ [% ELSIF key == 'branchcode' %] >+ <td>[% Branches.GetName( borrowers.$borrowernumber.$key ) %]</td> >+ <td>[% Branches.GetName( pm.$key ) %]</td> > [% ELSE %] > <td>[% borrowers.$borrowernumber.$key %]</td> > <td>[% pm.$key %]</td> >-- >2.8.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16990
:
54627
|
54721
|
54950