From 41531414598b9c2c7436aefcdb65c5a16e7785cf Mon Sep 17 00:00:00 2001 From: phasefx Date: Tue, 22 Sep 2009 17:01:18 +0000 Subject: [PATCH] an upgrade script for adding the circ.staff_client.do_not_auto_attempt_print org unit setting type git-svn-id: svn://svn.open-ils.org/ILS/trunk@14085 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../sql/Pg/upgrade/0011.data.org-setting-no-autoprint.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Open-ILS/src/sql/Pg/upgrade/0011.data.org-setting-no-autoprint.sql diff --git a/Open-ILS/src/sql/Pg/upgrade/0011.data.org-setting-no-autoprint.sql b/Open-ILS/src/sql/Pg/upgrade/0011.data.org-setting-no-autoprint.sql new file mode 100644 index 0000000000..9544ab058e --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0011.data.org-setting-no-autoprint.sql @@ -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; -- 2.11.0