From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4> Date: Wed, 14 Apr 2010 18:48:15 +0000 (+0000) Subject: org unit setting for suppressing alerts/popups during checkin--will indicate these... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=38d655b52b6923624a13505a6208c45477e31192;p=evergreen%2Fpines.git org unit setting for suppressing alerts/popups during checkin--will indicate these events some other way if true. Commiting now so as to not tie up upgrade_log git-svn-id: svn://svn.open-ils.org/ILS/trunk@16237 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 0238984241..75bf411507 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -60,7 +60,7 @@ CREATE TABLE config.upgrade_log ( install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW() ); -INSERT INTO config.upgrade_log (version) VALUES ('0233'); -- senator +INSERT INTO config.upgrade_log (version) VALUES ('0234'); -- phasefx CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, 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 4155120355..22d1f2715c 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -1941,6 +1941,22 @@ INSERT into config.org_unit_setting_type 'bool' ) ; +-- 0234.data.org-setting-ui.circ.suppress_checkin_popups.sql +INSERT INTO config.org_unit_setting_type ( name, label, description, datatype ) VALUES ( + 'ui.circ.suppress_checkin_popups', + oils_i18n_gettext( + 'ui.circ.suppress_checkin_popups', + 'Suppress popup-dialogs during check-in.', + 'coust', + 'label'), + oils_i18n_gettext( + 'ui.circ.suppress_checkin_popups', + 'Suppress popup-dialogs during check-in.', + 'coust', + 'description'), + 'bool' +); + -- Org_unit_setting_type(s) that need an fm_class: INSERT into config.org_unit_setting_type ( name, label, description, datatype, fm_class ) VALUES diff --git a/Open-ILS/src/sql/Pg/upgrade/0234.data.org-setting-ui.circ.suppress_checkin_popups.sql b/Open-ILS/src/sql/Pg/upgrade/0234.data.org-setting-ui.circ.suppress_checkin_popups.sql new file mode 100644 index 0000000000..b59bdb272f --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0234.data.org-setting-ui.circ.suppress_checkin_popups.sql @@ -0,0 +1,20 @@ +BEGIN; + +INSERT INTO config.upgrade_log (version) VALUES ('0234'); -- phasefx + +INSERT INTO config.org_unit_setting_type ( name, label, description, datatype ) VALUES ( + 'ui.circ.suppress_checkin_popups', + oils_i18n_gettext( + 'ui.circ.suppress_checkin_popups', + 'Suppress popup-dialogs during check-in.', + 'coust', + 'label'), + oils_i18n_gettext( + 'ui.circ.suppress_checkin_popups', + 'Suppress popup-dialogs during check-in.', + 'coust', + 'description'), + 'bool' +); + +COMMIT;