From ab611d30d21301f5fbb78a63890d18fde6b8fe88 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Tue, 25 Oct 2022 14:55:26 -0400 Subject: [PATCH] Online Renewal - Document which patron groups are eligible in code Signed-off-by: Terran McCanna --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm | 1 + 1 file changed, 1 insertion(+) 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 { -- 2.11.0