stop fines item out display : upgrade script customize-items-out-by-stop-fines
authorBill Erickson <berick@esilibrary.com>
Wed, 14 Aug 2013 18:00:59 +0000 (14:00 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 14 Aug 2013 18:00:59 +0000 (14:00 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/sql/Pg/upgrade/XXXX.data.yaous-items-out-by-stop-fines.sql [new file with mode: 0644]

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 (file)
index 0000000..366a39b
--- /dev/null
@@ -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;