From a064fb7809512776dd0122f7fedf634a13c61305 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 2 Sep 2020 12:36:47 -0400 Subject: [PATCH] LP#1857150: add workstation settings for new grids Sponsored-by: Evergreen Community Development Initiative Signed-off-by: Galen Charlton Signed-off-by: Ruth Frasur Signed-off-by: Bill Erickson Signed-off-by: Jason Etheridge --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 64 +++++++++++++++++++++ .../sql/Pg/upgrade/ZZZZ.data.angular-providers.sql | 67 ++++++++++++++++++++++ 2 files changed, 131 insertions(+) create mode 100644 Open-ILS/src/sql/Pg/upgrade/ZZZZ.data.angular-providers.sql 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 4ac8f0f976..fe6de394fa 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -20609,3 +20609,67 @@ VALUES ( INSERT INTO action_trigger.reactor (module, description) VALUES ( 'CallHTTP', 'Push event information out to an external system via HTTP' ); + +INSERT INTO config.workstation_setting_type + (name, grp, datatype, label) +VALUES ( + 'eg.grid.acq.provider.addresses', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.addresses', + 'Grid Config: acq.provider.addresses', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.attributes', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.attributes', + 'Grid Config: acq.provider.attributes', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.contact.addresses', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.contact.addresses', + 'Grid Config: acq.provider.contact.addresses', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.contacts', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.contacts', + 'Grid Config: acq.provider.contacts', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.edi_accounts', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.edi_accounts', + 'Grid Config: acq.provider.edi_accounts', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.edi_messages', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.edi_messages', + 'Grid Config: acq.provider.edi_messages', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.holdings', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.holdings', + 'Grid Config: acq.provider.holdings', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.invoices', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.invoices', + 'Grid Config: acq.provider.invoices', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.purchaseorders', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.purchaseorders', + 'Grid Config: acq.provider.purchaseorders', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.search.results', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.search.results', + 'Grid Config: acq.provider.search.results', + 'cwst', 'label') +); diff --git a/Open-ILS/src/sql/Pg/upgrade/ZZZZ.data.angular-providers.sql b/Open-ILS/src/sql/Pg/upgrade/ZZZZ.data.angular-providers.sql new file mode 100644 index 0000000000..cedae0a369 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/ZZZZ.data.angular-providers.sql @@ -0,0 +1,67 @@ +BEGIN; + +INSERT INTO config.workstation_setting_type + (name, grp, datatype, label) +VALUES ( + 'eg.grid.acq.provider.addresses', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.addresses', + 'Grid Config: acq.provider.addresses', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.attributes', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.attributes', + 'Grid Config: acq.provider.attributes', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.contact.addresses', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.contact.addresses', + 'Grid Config: acq.provider.contact.addresses', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.contacts', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.contacts', + 'Grid Config: acq.provider.contacts', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.edi_accounts', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.edi_accounts', + 'Grid Config: acq.provider.edi_accounts', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.edi_messages', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.edi_messages', + 'Grid Config: acq.provider.edi_messages', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.holdings', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.holdings', + 'Grid Config: acq.provider.holdings', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.invoices', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.invoices', + 'Grid Config: acq.provider.invoices', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.purchaseorders', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.purchaseorders', + 'Grid Config: acq.provider.purchaseorders', + 'cwst', 'label') +), ( + 'eg.grid.acq.provider.search.results', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.acq.provider.search.results', + 'Grid Config: acq.provider.search.results', + 'cwst', 'label') +); + +COMMIT; -- 2.11.0