Bug 35356: Show SMS labels only when data exists
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 17 Nov 2023 21:39:02 +0000 (21:39 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 31 Jan 2024 12:45:26 +0000 (13:45 +0100)
commit7011b3bc84e8ee806e69e947fd6df41bd87e1390
tree83e9d6bd865804071c9d6d6055f3a4dc16942534
parent6529a62e1a82b1a722012313c3014071678b0bfa
Bug 35356: Show SMS labels only when data exists

To test:
APPLY PATCH
1. Set SMSSendDriver = Email
2. Admin > SMS cellular providers, have at least 1.
3. Go to the members/moremember.pl
4. If the patron has no SMSnumber or SMS provider then niether of the labels should appear.
5. Add both a SMSnumber and SMS provider, make sure the data appears correctly on members/moremember.pl.

Signed-off-by: Andrew Fuerste Henry <andrewfh@dubcolib.org>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 756a9311a15c2748d0c330540e1e3d38a43448e5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt