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)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 13 Sep 2016 12:55:39 +0000 (08:55 -0400)
commit5e68152a2209ee3d2a688718b608ad60419d5e33
treeb4708315444b2caba1343864702d555f5211d279
parent8284edcdd3de5392b4265f3ee2e806dda761cdc1
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