ACQ invoice receive UI handles async LI retrieval user/kmlussier/lp1046354-invoice-receive-copies-async-repair-signoff
authorBill Erickson <berick@esilibrary.com>
Wed, 3 Oct 2012 19:00:26 +0000 (15:00 -0400)
committerKathy Lussier <klussier@masslnc.org>
Wed, 10 Oct 2012 23:00:57 +0000 (19:00 -0400)
commit78f1cc454c9e6ce84180623bae48861b539d174e
treebb04574684939bd220bf88c8b6420505073e0d6e
parentf64b4a4aca8884e46e1e60c7a4a38fd7e9157952
ACQ invoice receive UI handles async LI retrieval

openils.acq.Linetitem.fetchAndRender() now fetches lineitems
asynchronously.  This commit causes the invoice receive UI to calculate
the copies to be received after all lineitems have been (async) fetched.
Without this, it always appears as though there are no copies to receive

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/web/js/ui/default/acq/invoice/receive.js