From 128f4d5664979881d5a64bb3f6b213f0c176a002 Mon Sep 17 00:00:00 2001 From: Tiffany Little Date: Wed, 18 Aug 2021 08:18:31 -0400 Subject: [PATCH] LP#1737019 Add an active flag to funding sources This adds an active flag to funding sources. It also adds limits the available funding sources in the Create Allocation dropdown to only active funding sources. Signed-off-by: Tiffany Little Signed-off-by: Lindsay Stratton Signed-off-by: Galen Charlton --- Open-ILS/examples/fm_IDL.xml | 1 + .../admin/acq/funds/fund-details-dialog.component.html | 2 +- .../staff/admin/acq/funds/funding-sources.component.html | 1 + Open-ILS/src/sql/Pg/200.schema.acq.sql | 1 + Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acq-active-flag.sql | 13 +++++++++++++ 5 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acq-active-flag.sql diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 4cfdd3f9f2..c068c2cad6 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -9541,6 +9541,7 @@ SELECT usr, + diff --git a/Open-ILS/src/eg2/src/app/staff/admin/acq/funds/fund-details-dialog.component.html b/Open-ILS/src/eg2/src/app/staff/admin/acq/funds/fund-details-dialog.component.html index 608178580f..19084cc7ac 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/acq/funds/fund-details-dialog.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/acq/funds/fund-details-dialog.component.html @@ -203,7 +203,7 @@ +[fieldOptions]="{funding_source:{linkedSearchConditions:{'active':'t'},preloadLinkedValues:true}}"> diff --git a/Open-ILS/src/eg2/src/app/staff/admin/acq/funds/funding-sources.component.html b/Open-ILS/src/eg2/src/app/staff/admin/acq/funds/funding-sources.component.html index 55599eacdd..4af554615c 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/acq/funds/funding-sources.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/acq/funds/funding-sources.component.html @@ -80,6 +80,7 @@ +