Bug 20014: Preselect item budget based on id not code
authorNick Clemens <nick@bywatersolutions.com>
Wed, 17 Jan 2018 19:50:31 +0000 (19:50 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 24 Aug 2018 09:57:07 +0000 (10:57 +0100)
commit41b67901d2a6f46452d590916a0cb57f29a69496
tree0a20dd6c3286d4f0976fb6e12290bc008dbc2436
parent31bf49b849a949c9f809d2ca2eaa1cecafb55036
Bug 20014: Preselect item budget based on id not code

To test:
1 - Have the same fund code in two budgets
2 - Have budget code defined in MarcItemFieldsToOrder
3 - Stage a file with some order items as defined above
4 - Inspect the fuinds drop down in the item, notice two lines are
marked selected
5 - Apply patch
6 - Repeat
7 - Only one field should be selected, with a preference for active
budget

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit d1890533c8796873149338831c5de13d5b19cb9e)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
acqui/addorderiso2709.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt