LP#1175400 Check for over allocation from funding source
authorLiam Whalen <liam.whalen@bc.libraries.coop>
Wed, 4 Nov 2015 22:03:59 +0000 (14:03 -0800)
committerLiam Whalen <liam.whalen@bc.libraries.coop>
Wed, 4 Nov 2015 22:03:59 +0000 (14:03 -0800)
commit96a90dfbad04573809a5850f8915ac3b46323f1f
tree27c879eec879bfd31f2b5fd2f405e047b0afa616
parentd26df8817d9416107326227a0a187ff7897288eb
LP#1175400 Check for over allocation from funding source

When allocating money from a funding source to a fund it is possible to
allocate more money to the fund than exists in the funding source.  This
code adds a check with a dialog that stops the user from over allocating
from a funding source unless they choose an override option.

TODO: Need to add a permission check to allow the override.

Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
s# Open-ILS/web/js/ui/default/acq/financial/view_funding_source.js~
Open-ILS/src/templates/acq/funding_source/over_allocate_dialog.tt2 [new file with mode: 0644]
Open-ILS/src/templates/acq/funding_source/view.tt2
Open-ILS/web/js/ui/default/acq/financial/view_funding_source.js