LP#1380803 Update PO summary amounts user/kmlussier/lp1380803-direct-charge-affects-summaries
authorBill Erickson <berickxx@gmail.com>
Mon, 6 Apr 2015 21:33:26 +0000 (17:33 -0400)
committerKathy Lussier <klussier@masslnc.org>
Fri, 10 Apr 2015 20:24:38 +0000 (16:24 -0400)
commit9504882c62ce2b249d29afbdb7c49af1be75c55d
treee06fe7b6c8535540098c460907012426d525866b
parent84f8e34ac81e8ad8f0a955d2e297808844439072
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>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
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