Bugzilla – Attachment 103822 Details for
Bug 25299
Date not showing on Details page when patron is going to expire
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25299: Show soon to expire patron date
Bug-25299-Show-soon-to-expire-patron-date.patch (text/plain), 2.21 KB, created by
Frédéric Demians
on 2020-04-28 05:11:12 UTC
(
hide
)
Description:
Bug 25299: Show soon to expire patron date
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2020-04-28 05:11:12 UTC
Size:
2.21 KB
patch
obsolete
>From 9142ce7852be54142d995956675eb0a12af833ba Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Tue, 28 Apr 2020 11:40:23 +1000 >Subject: [PATCH] Bug 25299: Show soon to expire patron date >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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> >Without this patch the dispay was incomplete on patron detail tab >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >index 15ea33c9f0..d648e24102 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -145,7 +145,7 @@ > [% ELSIF ( patron.is_going_to_expire ) %] > <li> > <span class="circ-hlt">Expiration:</span> Patron's card will expire soon. >- Patron's card expires on [% expiry | $KohaDates %] >+ Patron's card expires on [% patron.dateexpiry | $KohaDates %] > <a href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | uri %]&reregistration=y">Renew</a> or <a href="/cgi-bin/koha/members/memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber | html %]&categorycode=[% categorycode | html %]">Edit details</a> > </li> > [% END %] >-- >2.17.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25299
:
103819
|
103822
|
103879