From: Chris Sharp Date: Fri, 26 Aug 2016 16:05:10 +0000 (-0400) Subject: LP#1617318 - Make PATRON_IN_COLLECTIONS standing penalty alert by default X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fcsharp%2Flp1617318_patron_in_collections_penalty_note;p=working%2FEvergreen.git LP#1617318 - Make PATRON_IN_COLLECTIONS standing penalty alert by default 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 --- diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index f00d040c8d..2a026f72cf 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -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,