From 4b6552d74cf790b6c272a80edaa7cfe5a5538d29 Mon Sep 17 00:00:00 2001 From: Kathy Lussier Date: Tue, 21 Aug 2018 13:04:13 -0400 Subject: [PATCH] LP#1777675: Add inventory checkin modifier setting to server storage Allows the inventory checkin modifier value to be stored on the server instead of the browser as is done with other checkin modifier settings. Signed-off-by: Kathy Lussier Signed-off-by: Dan Wells --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 7 +++++++ .../XXXX-create-inventory-workstation-and-date.sql | 12 +++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) 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 7973a4df59..d9e75eb684 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -18454,6 +18454,13 @@ VALUES ( 'Checkin: Manual Floating Active', 'cwst', 'label' ) +), ( + 'eg.circ.checkin.do_inventory_update', 'circ', 'bool', + oils_i18n_gettext ( + 'eg.circ.checkin.do_inventory_update', + 'Checkin: Update Inventory', + 'cwst', 'label' + ) ), ( 'eg.circ.patron.summary.collapse', 'circ', 'bool', oils_i18n_gettext( diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX-create-inventory-workstation-and-date.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX-create-inventory-workstation-and-date.sql index b4dcdf8c33..9465a6839b 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX-create-inventory-workstation-and-date.sql +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX-create-inventory-workstation-and-date.sql @@ -26,4 +26,14 @@ CREATE CONSTRAINT TRIGGER inherit_asset_last_copy_inventory_copy_fkey AFTER UPDATE OR INSERT ON asset.last_copy_inventory DEFERRABLE FOR EACH ROW EXECUTE PROCEDURE evergreen.asset_last_copy_inventory_copy_inh_fkey(); -COMMIT; \ No newline at end of file +INSERT into config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.circ.checkin.do_inventory_update', 'circ', 'bool', + oils_i18n_gettext ( + 'eg.circ.checkin.do_inventory_update', + 'Checkin: Update Inventory', + 'cwst', 'label' + ) +); + +COMMIT; -- 2.43.2