From 244405509c0813381842aa9dd62cedbc6039e8ce Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 10 Jun 2015 00:52:39 +0200 Subject: [PATCH] Bug 14002: Show patron expiry date in OPAC This patch makes it possible to show the expiration date of a patron account in the OPAC on the details tab in the patron account. Extras: - Makes it possible to hide cardnumber with PatronSelfRegistrationBorrowerUnwantedField To test: - Toggle OPACPatronDetails and test date expiry always shows - Check PatronSelfRegistrationBorrowerUnwantedField for dateexpiry and cardnumber - Verify a patron address modification request still works as expected Signed-off-by: Aleisha Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 69baa022a587ffd9df2bc065a0e8e72c14cf7c4f) Signed-off-by: Chris Cormack --- .../bootstrap/en/modules/opac-memberentry.tt | 11 ++++++++++- 1 file changed, 10 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 7beedf9ae0..c6f0b3fec6 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -61,10 +61,19 @@ Library
    + [% UNLESS hidden.defined('cardnumber') %]
  1. - +
  2. + [% END %] + + [% UNLESS hidden.defined('dateexpiry') %] +
  3. + + +
  4. + [% END %] [% UNLESS hidden.defined('branchcode') %]
  5. -- 2.39.5