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 Cormack <chrisc@catalyst.net.nz>
Thu, 22 Sep 2011 07:35:40 +0000 (19:35 +1200)
commit4fb88deaa7a0ada50480751cbfadcf1dde75d8eb
treecdc0db42f08cfa655dff6e2340f18644a73fc59a
parent65e65d7c37e052e6fa8253001f47c497e22e6fd3
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>
C4/Budgets.pm