From: Jane Sandberg Date: Sat, 29 Dec 2018 23:17:02 +0000 (-0800) Subject: LP1809288: Add workstation grid settings for booking admin X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6d19d729d6348926ecc31a59c934202bd85fef40;p=Evergreen.git LP1809288: Add workstation grid settings for booking admin Signed-off-by: Jane Sandberg 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 e83dc04688..f0d4a6a431 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -19455,5 +19455,43 @@ VALUES ( ); +INSERT into config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.admin.booking.booking.resource', 'gui', 'object', + oils_i18n_gettext ( + 'eg.grid.admin.booking.booking.resource', + 'Grid Config: admin.booking.booking.resource', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.booking.booking.resource_attr', 'gui', 'object', + oils_i18n_gettext ( + 'eg.grid.admin.booking.booking.resource_attr', + 'Grid Config: admin.booking.booking.resource_attr', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.booking.booking.resource_attr_map', 'gui', 'object', + oils_i18n_gettext ( + 'eg.grid.admin.booking.booking.resource_attr_map', + 'Grid Config: admin.booking.booking.resource_attr_map', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.booking.booking.resource_attr_value', 'gui', 'object', + oils_i18n_gettext ( + 'eg.grid.admin.booking.booking.resource_attr_value', + 'Grid Config: admin.booking.booking.resource_attr_value', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.booking.booking.resource_type', 'gui', 'object', + oils_i18n_gettext ( + 'eg.grid.admin.booking.booking.resource_type', + 'Grid Config: admin.booking.booking.resource_type', + 'cwst', 'label' + ) +); + diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.booking-admin-grid-settings.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.booking-admin-grid-settings.sql new file mode 100644 index 0000000000..5f2d5d17b3 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.booking-admin-grid-settings.sql @@ -0,0 +1,43 @@ +BEGIN; + +-- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); + +INSERT into config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.admin.booking.booking.resource', 'gui', 'object', + oils_i18n_gettext ( + 'eg.grid.admin.booking.booking.resource', + 'Grid Config: admin.booking.booking.resource', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.booking.booking.resource_attr', 'gui', 'object', + oils_i18n_gettext ( + 'eg.grid.admin.booking.booking.resource_attr', + 'Grid Config: admin.booking.booking.resource_attr', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.booking.booking.resource_attr_map', 'gui', 'object', + oils_i18n_gettext ( + 'eg.grid.admin.booking.booking.resource_attr_map', + 'Grid Config: admin.booking.booking.resource_attr_map', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.booking.booking.resource_attr_value', 'gui', 'object', + oils_i18n_gettext ( + 'eg.grid.admin.booking.booking.resource_attr_value', + 'Grid Config: admin.booking.booking.resource_attr_value', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.booking.booking.resource_type', 'gui', 'object', + oils_i18n_gettext ( + 'eg.grid.admin.booking.booking.resource_type', + 'Grid Config: admin.booking.booking.resource_type', + 'cwst', 'label' + ) +); + +COMMIT;