[open-ils-commits] r14085 - trunk/Open-ILS/src/sql/Pg/upgrade (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Sep 22 13:01:21 EDT 2009


Author: phasefx
Date: 2009-09-22 13:01:18 -0400 (Tue, 22 Sep 2009)
New Revision: 14085

Added:
   trunk/Open-ILS/src/sql/Pg/upgrade/0011.data.org-setting-no-autoprint.sql
Log:
an upgrade script for adding the circ.staff_client.do_not_auto_attempt_print org unit setting type

Added: trunk/Open-ILS/src/sql/Pg/upgrade/0011.data.org-setting-no-autoprint.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0011.data.org-setting-no-autoprint.sql	                        (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0011.data.org-setting-no-autoprint.sql	2009-09-22 17:01:18 UTC (rev 14085)
@@ -0,0 +1,12 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0011.data.org-setting-no-autoprint.sql');
+
+INSERT INTO config.org_unit_setting_type (name, label, description, datatype) VALUES (
+    'circ.staff_client.do_not_auto_attempt_print',
+    'Disable Automatic Print Attempt Type List',
+    'Disable automatic print attempts from staff client interfaces for the receipt types in this list.  Possible values: "Checkout", "Bill Pay", "Hold Slip", "Transit Slip", and "Hold/Transit Slip".  This is different from the Auto-Print checkbox in the pertinent interfaces in that it disables automatic print attempts altogether, rather than encouraging silent printing by suppressing the print dialog.  The Auto-Print checkbox in these interfaces have no effect on the behavior for this setting.  In the case of the Hold, Transit, and Hold/Transit slips, this also suppresses the alert dialogs that precede the print dialog (the ones that offer Print and Do Not Print as options).',
+    'array' 
+);
+
+COMMIT;



More information about the open-ils-commits mailing list