LP#1617318 - Make PATRON_IN_COLLECTIONS standing penalty alert by default user/csharp/lp1617318_patron_in_collections_penalty_note
authorChris Sharp <csharp@georgialibraries.org>
Fri, 26 Aug 2016 16:05:10 +0000 (12:05 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 26 Aug 2016 16:05:10 +0000 (12:05 -0400)
Previously, the PATRON_IN_COLLECTIONS standing penalty was only
visible to staff if they viewed the patron's standing penalties.
We add an alert to staff by default here.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/sql/Pg/950.data.seed-values.sql

index f00d040..2a026f7 100644 (file)
@@ -40,7 +40,7 @@ INSERT INTO config.standing_penalty (id,name,label,block_list,staff_alert) VALUE
 INSERT INTO config.standing_penalty (id,name,label,block_list,staff_alert) VALUES (27,'STAFF_H',oils_i18n_gettext(27, 'Alerting block on Hold', 'csp', 'label'),'HOLD', TRUE);
 INSERT INTO config.standing_penalty (id,name,label,block_list,staff_alert) VALUES (28,'STAFF_R',oils_i18n_gettext(28, 'Alerting block on Renew', 'csp', 'label'),'RENEW', TRUE);
 INSERT INTO config.standing_penalty (id,name,label) VALUES (29,'INVALID_PATRON_ADDRESS',oils_i18n_gettext(29, 'Patron has an invalid address', 'csp', 'label'));
-INSERT INTO config.standing_penalty (id,name,label) VALUES (30,'PATRON_IN_COLLECTIONS',oils_i18n_gettext(30, 'Patron has been referred to a collections agency', 'csp', 'label'));
+INSERT INTO config.standing_penalty (id,name,label,staff_alert) VALUES (30,'PATRON_IN_COLLECTIONS',oils_i18n_gettext(30, 'Patron has been referred to a collections agency', 'csp', 'label'),TRUE);
 INSERT INTO config.standing_penalty (id, name, label, staff_alert, org_depth) VALUES
     (
         31,