]> git.koha-community.org Git - koha.git/commit
Bug 38138: (bug 33398 follow-up) Don't display code for primary contact method
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 16 Oct 2024 08:28:47 +0000 (10:28 +0200)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 29 Oct 2024 07:46:51 +0000 (08:46 +0100)
commit49e09672b53b024882cc0c363d39b399ef1859d9
treefbae2cdeab15110d3e2322eea68546e722b2b027
parentf44a0adb5dc4ccdff4f5435dda1cce51b7a393a5
Bug 38138: (bug 33398 follow-up) Don't display code for primary contact method

We have several choices for "primary_contact_method", we don't want to
display the code but the label
phone => Primary phone
phonepro => Secondary phone
mobile => Other phone
email => Primary email
emailpro => Secondary email
fax => Fax

Bonus: it will make it translatable.

Test plan:
1. Edit a patron record to add a Main contact method
2. Place a hold for this patron
3. Check the item in
   --> Pop up says "Main contact method:" followed by the choice.

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt