Bug 16123 - Display budget hierarchy in the budget dropdown menu used when placing...
authorBlou <philippe.blouin@inlibro.com>
Thu, 20 Aug 2015 15:52:03 +0000 (11:52 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 28 Oct 2016 15:26:00 +0000 (15:26 +0000)
commit73d9557b13bcd7354436db6980fb23b6c9a124dc
treeceffa70815a31097f2c877f9a0d3a10409e40d38
parente54186a4ddc1e4980fdabf9db5bf410c84dbcad4
Bug 16123 - Display budget hierarchy in the budget dropdown menu used when placing a new order

When placing a new order, the budget dropdown will display the budget hierarchy.

TEST PLAN :

1. Go to the Administration module
2. Add a new budget (ie : Budget 2016)
3. Add a fund to this budget (ie : Book)
4. Add a child fund (ie : Adult fiction)

You will have this hierarchy :

Budget 2016
 |____ Book
         |_____ Adult fiction

5. Go to the Acquisition module
6. Select a vendor and create a new basket
7. Place an order
8. Check the budget dropdown menu

BEFORE PATCH
Book
Adult fiction

AFTER PATCH
Book
   Adult fiction

Dropbown menu is hierarchical as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Budgets.pm
acqui/neworderempty.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt