ACQ invoice receive UI handles async LI retrieval user/berick/lp1046354-invoice-receive-copies-async-repair
authorBill Erickson <berick@esilibrary.com>
Wed, 3 Oct 2012 19:00:26 +0000 (15:00 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 3 Oct 2012 19:00:26 +0000 (15:00 -0400)
commit24fc24dad21b71b5b4a7d7cf1de9357dfe963338
treecc80dc1c6f07e79dfc48c23cec5c305feac64fac
parent97221b394a50415d9ac52efb9304b5b96d0ae581
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>
Open-ILS/web/js/ui/default/acq/invoice/receive.js