]> git.koha-community.org Git - koha.git/commit
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)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 14 May 2020 22:32:13 +0000 (22:32 +0000)
commit6a56ac1cfca8c6fccab96b79541ef642146db0ab
treef65b48a0ef90d91359a42f651a68363487b18ef9
parenta97d18534c445add7d3c7edef9ee49403915a160
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 5a8067ff09f9679ff836695f3a01619b3c9b763f)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt