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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Wed, 17 Jan 2024 10:39:05 +0000 (11:39 +0100)
commit756a9311a15c2748d0c330540e1e3d38a43448e5
treeab1c0ecf0482598aef612adcf29ed362b619e910
parent78d1093cb597d22cb53e96b971ceed0b3d08a303
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>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt