Bug 7308: rework aqbudgets.pl table
authorJulian Maurice <julian.maurice@biblibre.com>
Thu, 11 Oct 2012 12:14:20 +0000 (14:14 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 21 Apr 2014 04:00:56 +0000 (04:00 +0000)
commit1e808f180540a7552a9c1467ee685ac037d8c042
tree8d079dd65b40c739a7279044e1330a42bc95ad13
parentdc3a90c41160493e9dfbf3353d755825c7f403b8
Bug 7308: rework aqbudgets.pl table

admin/aqbudgets.pl should have the following columns:

Base-level allocated (or just Allocated)
Base-level ordered
Total sub-levels ordered
Base-level spent
Total sub-levels spent
Base-level available
Total sub-levels available

Base-level is always calculated for one level, without children.
Total sub-levels should include child funds.
Available is calculated as "allocated - (ordered + spent)".

Signed-off-by: Cedric Vita <cedric.vita@dracenie.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Seems to work alright for me.
Passes QA script and tests, after I fixed 2 tabs in admin/aqbudgets.pl.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Budgets.pm
admin/aqbudgets.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt