From: Galen Charlton Date: Mon, 29 Mar 2021 02:50:42 +0000 (-0400) Subject: LP#1904244: add grid config settings X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f6dd423bbe58151001ab3065cd3729afe7bbb7ac;p=evergreen%2Fpines.git LP#1904244: add grid config settings Signed-off-by: Galen Charlton Signed-off-by: Ruth Frasur Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index 0946e4875c..df6bda7ae1 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -21732,3 +21732,56 @@ VALUES ( (SELECT id FROM permission.perm_list WHERE code = 'ADMIN_CREDIT_CARD_PROCESSING'), (SELECT id FROM permission.perm_list WHERE code = 'VIEW_CREDIT_CARD_PROCESSING') ); + +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.acq.fund.fund_debit', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.fund.fund_debit', + 'Grid Config: eg.grid.acq.fund.fund_debit', + 'cwst', 'label' + ) +), ( + 'eg.grid.acq.fund.fund_transfer', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.fund.fund_transfer', + 'Grid Config: eg.grid.acq.fund.fund_transfer', + 'cwst', 'label' + ) +), ( + 'eg.grid.acq.fund.fund_allocation', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.fund.fund_allocation', + 'Grid Config: eg.grid.acq.fund.fund_allocation', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.acq.fund', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.acq.fund', + 'Grid Config: eg.grid.admin.acq.fund', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.acq.funding_source', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.acq.funding_source', + 'Grid Config: eg.grid.admin.acq.funding_source', + 'cwst', 'label' + ) +), ( + 'eg.grid.acq.funding_source.fund_allocation', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.funding_source.fund_allocation', + 'Grid Config: eg.grid.acq.funding_source.fund_allocation', + 'cwst', 'label' + ) +), ( + 'eg.grid.acq.funding_source.credit', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.funding_source.credit', + 'Grid Config: eg.grid.acq.funding_source.credit', + 'cwst', 'label' + ) +); + diff --git a/Open-ILS/src/sql/Pg/upgrade/YYYY.data.acq-admin-grid-settings.sql b/Open-ILS/src/sql/Pg/upgrade/YYYY.data.acq-admin-grid-settings.sql new file mode 100644 index 0000000000..c29c099329 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/YYYY.data.acq-admin-grid-settings.sql @@ -0,0 +1,55 @@ +BEGIN; + +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.acq.fund.fund_debit', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.fund.fund_debit', + 'Grid Config: eg.grid.acq.fund.fund_debit', + 'cwst', 'label' + ) +), ( + 'eg.grid.acq.fund.fund_transfer', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.fund.fund_transfer', + 'Grid Config: eg.grid.acq.fund.fund_transfer', + 'cwst', 'label' + ) +), ( + 'eg.grid.acq.fund.fund_allocation', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.fund.fund_allocation', + 'Grid Config: eg.grid.acq.fund.fund_allocation', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.acq.fund', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.acq.fund', + 'Grid Config: eg.grid.admin.acq.fund', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.acq.funding_source', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.acq.funding_source', + 'Grid Config: eg.grid.admin.acq.funding_source', + 'cwst', 'label' + ) +), ( + 'eg.grid.acq.funding_source.fund_allocation', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.funding_source.fund_allocation', + 'Grid Config: eg.grid.acq.funding_source.fund_allocation', + 'cwst', 'label' + ) +), ( + 'eg.grid.acq.funding_source.credit', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.funding_source.credit', + 'Grid Config: eg.grid.acq.funding_source.credit', + 'cwst', 'label' + ) +); + +COMMIT;