bug_4831: Use unitprice (actual cost) when totalling spent amounts for "All available...
authorSrdjan Jankovic <srdjan@catalyst.net.nz>
Wed, 7 Sep 2011 04:02:21 +0000 (16:02 +1200)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Sat, 8 Oct 2011 16:17:52 +0000 (12:17 -0400)
commitdd48e4392d1af9dcb3920d00d717ed6b2a6ebfd6
treea623389d36cd2fadd81e9a5d087cb918158de3a0
parent593064036e24330321e5fdf8a98598e8df58b121
bug_4831: Use unitprice (actual cost) when totalling spent amounts for "All available funds", as in "Already received"

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
To test:
- add new fund for an active budget
- order item, price 8.00
- check funds page and acq home: committed amount should be 8.00
- receive item, enter actual price 10.00
- check funds page and acq home: spent amount should be 10.00

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 4fb88deaa7a0ada50480751cbfadcf1dde75d8eb)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Budgets.pm