From 9cf88e690dbbfb422a7a9bba33ab556d48d112f9 Mon Sep 17 00:00:00 2001 From: Amit Gupta Date: Sun, 16 Aug 2020 14:17:06 +0000 Subject: [PATCH] Bug 26222: Ability to show membership registration and membership renewal date on opac-memberentry.pl page Test case: 1. Login to the OPAC page /cgi-bin/koha/opac-user.pl 2. On the left hand side you can see your personal details tab. 3. Click on the your personal details. 4. Now you can see the personal detail for ex cardnumber, homelibrary. 5. Apply the patch. 6. Reload the page now you can able to see the Registration date of the member and Renewal date of the member in case membership is renewed. --- .../opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt index 7acd45a..284bd3e 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -212,7 +212,21 @@ [% END %] [% END %] - + + [% IF borrower.dateenrolled %] +
  • + + [% borrower.dateenrolled | $KohaDates %] +
  • + [% END %] + + [% IF borrower.date_renewed %] +
  • + + [% borrower.date_renewed | $KohaDates %] +
  • + [% END %] + [% UNLESS hidden.defined('dateexpiry') %]
  • -- 2.7.4