]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/XXXX.data.lost-and-paid-status.sql
LP1198475: Add a new, optional, Lost and Paid copy status.
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / XXXX.data.lost-and-paid-status.sql
1 INSERT INTO config.copy_status
2 (id, name, holdable, opac_visible, copy_active, restrict_copy_delete)
3 VALUES (17, 'Lost and Paid', FALSE, FALSE, FALSE, TRUE);
4
5 INSERT INTO config.org_unit_setting_type
6 (name, grp, label, description, datatype)
7 VALUES
8 ('circ.use_lost_paid_copy_status',
9  'circ',
10  oils_i18n_gettext('circ.use_lost_paid_copy_status',
11      'Use Lost and Paid copy status',
12      'coust', 'label'),
13  oils_i18n_gettext('circ.use_lost_paid_copy_status',
14      'Use Lost and Paid copy status when lost or long overdue billing is paid',
15      'coust', 'description'),
16  'bool');
17