]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0987.data.lp1183964_payment_limit.sql
LP#1096209: add check_sms_notify parameter to all relevant event defs
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0987.data.lp1183964_payment_limit.sql
1 BEGIN;
2
3 SELECT evergreen.upgrade_deps_block_check('0987', :eg_version);
4
5 INSERT INTO config.org_unit_setting_type ( name, grp, label, description, datatype )
6     VALUES (
7         'ui.circ.billing.amount_limit', 'gui',
8         oils_i18n_gettext(
9             'ui.circ.billing.amount_limit',
10             'Maximum payment amount allowed.',
11             'coust', 'label'),
12         oils_i18n_gettext(
13             'ui.circ.billing.amount_limit',
14             'The payment amount in the Patron Bills interface may not exceed the value of this setting.',
15             'coust', 'description'),
16         'currency'
17     );
18
19 INSERT INTO config.org_unit_setting_type ( name, grp, label, description, datatype )
20     VALUES (
21         'ui.circ.billing.amount_warn', 'gui',
22         oils_i18n_gettext(
23             'ui.circ.billing.amount_warn',
24             'Payment amount threshold for Are You Sure? dialog.',
25             'coust', 'label'),
26         oils_i18n_gettext(
27             'ui.circ.billing.amount_warn',
28             'In the Patron Bills interface, a payment attempt will warn if the amount exceeds the value of this setting.',
29             'coust', 'description'),
30         'currency'
31     );
32
33 COMMIT;