LP#1380803 Update PO summary amounts user/berick/lp1380803-direct-charge-affects-summaries
authorBill Erickson <berickxx@gmail.com>
Mon, 6 Apr 2015 21:33:26 +0000 (17:33 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 10 Apr 2015 14:14:02 +0000 (10:14 -0400)
commit76b5e45430003bb11fa054772608f2e3b4de6b80
tree9e66c980e60a0be43192ac39629600244717c4d8
parent53b5fdf71a54ae50174daa4f0bad18be0538aaee
LP#1380803 Update PO summary amounts

Refresh the PO summary amounts (spent, encumbered, estimated) each time
an amount-changing event occurs.  These include changing the lineitem
price, adding/removing a direct charge, and adding/removing copies via
the copy grid.

Note that adding/removing copies via the batch-updater alread causes a
page refresh, which updates the summary amounts.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Financials.pm
Open-ILS/web/js/ui/default/acq/common/li_table.js
Open-ILS/web/js/ui/default/acq/po/item_table.js
Open-ILS/web/js/ui/default/acq/po/view_po.js