From: Terran McCanna Date: Tue, 25 Oct 2022 18:55:26 +0000 (-0400) Subject: Online Renewal - Document which patron groups are eligible in code X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ab611d30d21301f5fbb78a63890d18fde6b8fe88;p=evergreen%2Fpines.git Online Renewal - Document which patron groups are eligible in code 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 f9bf655acd..3e6ed807c8 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm @@ -3511,6 +3511,7 @@ sub check_account_exp { $self->update_dashboard_stats(); #make sure patron is in an eligible perm group for renewal + #On gapines.org production: 2 = Patron, 14 = Friend, 56 = GLS, 53 = Homebound, 22 = Trustee, 64 = Quipu, 60 = Digital Only if ($ctx->{user}->profile eq '2' || $ctx->{user}->profile eq '14' || $ctx->{user}->profile eq '56' || $ctx->{user}->profile eq '53' || $ctx->{user}->profile eq '22' || $ctx->{user}->profile eq '64' || $ctx->{user}->profile eq '60') { $ctx->{eligible_permgroup} = 1; } else {