From 9bb46969299893fd6a931b21fcf9e854a7e01364 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 14 Aug 2013 14:00:59 -0400 Subject: [PATCH] stop fines item out display : upgrade script Signed-off-by: Bill Erickson --- .../XXXX.data.yaous-items-out-by-stop-fines.sql | 91 ++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.data.yaous-items-out-by-stop-fines.sql diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.yaous-items-out-by-stop-fines.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.yaous-items-out-by-stop-fines.sql new file mode 100644 index 0000000000..366a39beca --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.yaous-items-out-by-stop-fines.sql @@ -0,0 +1,91 @@ +BEGIN; + +-- SELECT evergreen.upgrade_deps_block_check('', :eg_version); + +INSERT INTO config.org_unit_setting_type + (grp, name, datatype, label, description) +VALUES ( + 'gui', + 'ui.circ.items_out.longoverdue', + 'integer', + oils_i18n_gettext( + 'ui.circ.items_out.longoverdue', + 'Items Out Long-Overdue display setting', + 'coust', + 'label' + ), + oils_i18n_gettext( + 'ui.circ.items_out.longoverdue', + 'A value of 0 means Long-Overdue circulations are not displayed ' || + 'in the Items Out list. A value of 1 means Long-Overdue ' || + 'circulations are displayed in the top / main items out list ' || + 'along with regular circulations. A value of 2 means Long-Overdue ' || + 'circulations display in the bottom / alternate items out list', + 'coust', + 'description' + ) +), ( + 'gui', + 'ui.circ.items_out.lost', + 'integer', + oils_i18n_gettext( + 'ui.circ.items_out.lost', + 'Items Out Lost display setting', + 'coust', + 'label' + ), + oils_i18n_gettext( + 'ui.circ.items_out.lost', + 'A value of 0 means Lost circulations are not displayed ' || + 'in the Items Out list. A value of 1 means Lost ' || + 'circulations are displayed in the top / main items out list ' || + 'along with regular circulations. A value of 2 means Lost ' || + 'circulations display in the bottom / alternate items out list', + 'coust', + 'description' + ) +), ( + 'gui', + 'ui.circ.items_out.claimsreturned', + 'integer', + oils_i18n_gettext( + 'ui.circ.items_out.claimsreturned', + 'Items Out Claims Returned display setting', + 'coust', + 'label' + ), + oils_i18n_gettext( + 'ui.circ.items_out.claimsreturned', + 'A value of 0 means Claims Returned circulations are not displayed ' || + 'in the Items Out list. A value of 1 means Claims Returned ' || + 'circulations are displayed in the top / main items out list ' || + 'along with regular circulations. A value of 2 means Claims Returned ' || + 'circulations display in the bottom / alternate items out list', + 'coust', + 'description' + ) +), ( + 'gui', + 'ui.circ.items_out.claimsnevercheckedout', + 'integer', + oils_i18n_gettext( + 'ui.circ.items_out.claimsnevercheckedout', + 'Items Out Claims Never Checked Out display setting', + 'coust', + 'label' + ), + oils_i18n_gettext( + 'ui.circ.items_out.claimsnevercheckedout', + 'A value of 0 means Claims Never Checked Out circulations are not ' || + 'displayed in the Items Out list. A value of 1 means Claims Never ' || + 'Checked Out circulations are displayed in the top / main items ' || + 'out list along with regular circulations. A value of 2 means ' || + 'Claims Never Checked Out circulations display in the bottom / ' || + 'alternate items out list', + 'coust', + 'description' + ) +); + + +COMMIT; -- 2.11.0