added org setting to allow patrons to identify themselves via username (in addition...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 9 Dec 2009 18:34:28 +0000 (18:34 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 9 Dec 2009 18:34:28 +0000 (18:34 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15123 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/0113.data.org-setting-offline-usrname.sql [new file with mode: 0644]

index 8371144..ff444f3 100644 (file)
@@ -51,7 +51,7 @@ CREATE TABLE config.upgrade_log (
     install_date    TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
 );
 
-INSERT INTO config.upgrade_log (version) VALUES ('0112'); -- berick
+INSERT INTO config.upgrade_log (version) VALUES ('0113'); -- berick
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
index 0f6ac05..43134d4 100644 (file)
@@ -2893,3 +2893,12 @@ $$
 INSERT INTO action_trigger.environment ( event_def, path) VALUES
     ( 13, 'open_billable_transactions_summary.circulation' );
 
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+    VALUES ( 
+        'circ.offline.username_allowed',
+        oils_i18n_gettext('circ.offline.username_allowed', 'Selfcheck: Patron Usernames Allowed', 'coust', 'label'),
+        oils_i18n_gettext('circ.offline.username_allowed', 'During offline circulations, allow patrons to identify themselves with usernames in addition to barcode.  For this setting to work, a barcode format must also be defined', 'coust', 'description'),
+        'bool'
+    );
+
diff --git a/Open-ILS/src/sql/Pg/upgrade/0113.data.org-setting-offline-usrname.sql b/Open-ILS/src/sql/Pg/upgrade/0113.data.org-setting-offline-usrname.sql
new file mode 100644 (file)
index 0000000..5d0f910
--- /dev/null
@@ -0,0 +1,13 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0113');
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype )
+    VALUES ( 
+        'circ.offline.username_allowed',
+        oils_i18n_gettext('circ.offline.username_allowed', 'Selfcheck: Patron Usernames Allowed', 'coust', 'label'),
+        oils_i18n_gettext('circ.offline.username_allowed', 'During offline circulations, allow patrons to identify themselves with usernames in addition to barcode.  For this setting to work, a barcode format must also be defined', 'coust', 'description'),
+        'bool'
+    );
+
+COMMIT;