From: Dan Wells Date: Wed, 2 Nov 2016 18:35:16 +0000 (-0400) Subject: LP#1175293 Use filtered fund dropdown in funding source interface X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4c490dafe1126a116bf53f04ca19907d4270b1db;p=contrib%2FConifer.git LP#1175293 Use filtered fund dropdown in funding source interface The exising interface for allocating to funds from a funding source view lists all funds by code only. Since many (most?) orgs reuse fund codes year to year, you eventually end up with a bunch of dupes you cannot tell apart. Let's "borrow" an AutoFieldWidget to do the heavy lifting of creating a filtered list of active funds, and include the year for further user validation. This is inspired by a few other fund dropdowns, but may not be the best overall solution. Signed-off-by: Dan Wells Signed-off-by: Chris Sharp Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/src/templates/acq/funding_source/view.tt2 b/Open-ILS/src/templates/acq/funding_source/view.tt2 index 61e1903511..e37d58a0e1 100644 --- a/Open-ILS/src/templates/acq/funding_source/view.tt2 +++ b/Open-ILS/src/templates/acq/funding_source/view.tt2 @@ -35,22 +35,11 @@
[% l('Allocate to Fund') %]
- - + @@ -61,7 +50,7 @@
- - +