]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0633.new_print_method.sql
LP#1917826: tweaks to data update
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0633.new_print_method.sql
1 BEGIN;
2
3 -- check whether patch can be applied
4 SELECT evergreen.upgrade_deps_block_check('0633', :eg_version);
5
6 INSERT into config.org_unit_setting_type
7 ( name, grp, label, description, datatype ) VALUES
8 (
9         'print.custom_js_file', 'circ',
10         oils_i18n_gettext(
11             'print.custom_js_file',
12             'Printing: Custom Javascript File',
13             'coust',
14             'label'
15         ),
16         oils_i18n_gettext(
17             'print.custom_js_file',
18             'Full URL path to a Javascript File to be loaded when printing. Should'
19             || ' implement a print_custom function for DOM manipulation. Can change'
20             || ' the value of the do_print variable to false to cancel printing.',
21             'coust',
22             'description'
23         ),
24         'string'
25     );
26
27 COMMIT;