});
#check for PATRON_TEMP_RENEWAL
- ##### THIS WILL BE A DIFFERENT NUMBER ON PRODUCTION #####
my $searchpenalty_temp = new_editor()->search_actor_user_standing_penalty({
usr => $user->id,
- standing_penalty => 101,
+ standing_penalty => 201,
'-or' => [
{stop_date => undef},
{stop_date => {'>' => 'now'}}
TRUE,
0
);
-
+INSERT INTO config.standing_penalty (id, name, label, staff_alert, org_depth) VALUES (201, 'PATRON_TEMP_RENEWAL', 'Patron was given a 30-day temporary account renewal. Please archive this message after the account is fully renewed.', TRUE, 0);
SELECT SETVAL('config.standing_penalty_id_seq', 100);
--- /dev/null
+BEGIN;
+
+INSERT INTO config.standing_penalty (id, name, label, staff_alert, org_depth)
+VALUES (201, 'PATRON_TEMP_RENEWAL',
+ 'Patron was given a 30-day temporary account renewal.
+ Please archive this message after the account is fully renewed.', TRUE, 0
+ );
+
+COMMIT;
\ No newline at end of file