From: Terran McCanna Date: Tue, 25 Oct 2022 16:56:13 +0000 (-0400) Subject: Online Renewal - Show Updated Expire Date X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Ftest_quipu;p=evergreen%2Fpines.git 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 --- 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 5ef85d0a31..89a8b055d4 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm @@ -2653,6 +2653,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;