]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0886.data.lost-and-paid-status.sql
LP#1661688: Add a link and other tweaks to alternate hold pickup feature
[working/Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0886.data.lost-and-paid-status.sql
1 BEGIN;
2
3 SELECT evergreen.upgrade_deps_block_check('0886', :eg_version);
4
5 INSERT INTO config.copy_status
6 (id, name, holdable, opac_visible, copy_active, restrict_copy_delete)
7 VALUES (17, 'Lost and Paid', FALSE, FALSE, FALSE, TRUE);
8
9 INSERT INTO config.org_unit_setting_type
10 (name, grp, label, description, datatype)
11 VALUES
12 ('circ.use_lost_paid_copy_status',
13  'circ',
14  oils_i18n_gettext('circ.use_lost_paid_copy_status',
15      'Use Lost and Paid copy status',
16      'coust', 'label'),
17  oils_i18n_gettext('circ.use_lost_paid_copy_status',
18      'Use Lost and Paid copy status when lost or long overdue billing is paid',
19      'coust', 'description'),
20  'bool');
21
22 COMMIT;