Bug 33568: Fix patron_to_html display
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 31 Oct 2023 07:45:56 +0000 (08:45 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 5 Apr 2024 13:35:11 +0000 (15:35 +0200)
commit59a7a68fea908df75e93ee37d156e6cc6a23bd0d
treeda30ac57f7c1a86d9fd12139acb074fce0bc9985
parentce216aaa820037c5a37128d279e5747e7ee27055
Bug 33568: Fix patron_to_html display

Take HidePatronName into account
Display cardnumber
Remove parenthesis around cardnumber if the name is hidden

Signed-off-by: Laurence Rault <laurence.rault@biblibre.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc
koha-tmpl/intranet-tmpl/prog/en/includes/js-patron-format.inc