Bug 25299: Show soon to expire patron date
authorDavid Cook <dcook@prosentient.com.au>
Tue, 28 Apr 2020 01:40:23 +0000 (11:40 +1000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 29 Apr 2020 15:21:42 +0000 (16:21 +0100)
commita6fbb69c96f695df162e15486da568d27b70fa0f
treea4b23ff709afe3baca0b0029db331d99e42dc1aa
parent4df3899bc9d09e41138162f7d469221df23dd3bf
Bug 25299: Show soon to expire patron date

This patch fixes the call to show the patron expiry date
on the Details page when the patron is soon to expire.

Test plan:
0. Do not apply patch yet
1. Create a patron
2. Set patron's date expiry to 3 days from today
3. Go to Details tab
4. Note message "Expiration: Patron's card will expire soon.
Patron's card expires on Renew or Edit details"
5. Apply patch
4. Note message pattern "Expiration: Patron's card will expire soon.
Patron's card expires on XX/XX/XXXX Renew or Edit details"

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt