Fix LP1029095, Acq: Receive Items on an Invoice does not work with Line Item Alerts
authorSteven Chan <schan@sitka.bclibraries.ca>
Wed, 25 Jul 2012 20:45:40 +0000 (13:45 -0700)
committerBill Erickson <berick@esilibrary.com>
Thu, 4 Oct 2012 17:38:51 +0000 (13:38 -0400)
commit30d325f369744adf9fb8ebc4d2f200de5d0a7ee2
tree965ca636a327a7ffa776da8839714dd3a4397ba1
parentd3e30b106d06159c0edf4f9a59e6df5dfd4bd694
Fix LP1029095, Acq: Receive Items on an Invoice does not work with Line Item Alerts

1. Item reception was encountering a Javascript exception in the
check_lineitem_alerts() helper function, because there was a mismatch
between the input parameter name and the variable name actually used.

2. Also, took the opportunity to improve the performance of the for loop
to scan through alerts.

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