From 61fc15a20e7ac4c2cbdee320eb509a3bc95c3991 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Tue, 25 Oct 2022 12:56:13 -0400 Subject: [PATCH] Online Renewal - Show Updated Expire Date Without this, the page loads the initial patron expiration date and continues to show the button to renew the account. Signed-off-by: Terran McCanna --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm index f4c8d5ac69..f9bf655acd 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm @@ -2565,6 +2565,8 @@ sub load_myopac_main { }) ); + # PINES - need to make sure we're retrieving current info or else changed expire date won't show up + $self->prepare_extended_user_info; # PINES - check whether or not to provide account renewal link if ($self->ctx->{user}->billing_address) { $self->ctx->{valid_billing_address} = $self->editor->retrieve_actor_user_address($self->ctx->{user}->billing_address)->valid; -- 2.11.0