Online Renewal - Document which patron groups are eligible in code
authorTerran McCanna <tmccanna@georgialibraries.org>
Tue, 25 Oct 2022 18:55:26 +0000 (14:55 -0400)
committerTerran McCanna <tmccanna@georgialibraries.org>
Tue, 25 Oct 2022 18:55:26 +0000 (14:55 -0400)
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm

index f9bf655..3e6ed80 100644 (file)
@@ -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 {