Bug 22296: Add Invoice Adjustments to GetBudgetHierarchy
authorNick Clemens <nick@bywatersolutions.com>
Fri, 8 Feb 2019 20:24:05 +0000 (20:24 +0000)
committerroot <root@f1ebe1bec408>
Fri, 15 Mar 2019 11:33:39 +0000 (11:33 +0000)
commitdeb968ea45276e56826b592026617a96398b61da
tree054f46b1420c6f70eca4989ac993e5f74ffdb648
parent19aebacf7c6162e5628cba1078b2c0f2ec9751a6
Bug 22296: Add Invoice Adjustments to GetBudgetHierarchy

To test:
1 - prove -v t/db_dependent/Budgets.t
2 - Create some invoices on a single budget
    Invoice 1:
      add a non-encumbered adjustment for 1
      add an encumbered adjustment 2
      leave open
    Invoice 2:
      add a non-encumbered adjustment for 4
      add an encumbered adjustment for 8
3 - View acq home page, should see 2 order and 12 spent for the budget
4 - View the spent and ordered pages, they should show the correct amounts
5 - Add more orders etc and confirm things total correctly

https://bugs.koha-community.org/show_bug.cgi?id=22296
Signed-off-by: Janet McGowan <janet.mcgowan@ptfs-europe.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Budgets.pm
t/db_dependent/Budgets.t