CAT-69 Volume merge bug
authorKyle Huckins <khuckins@catalystdevworks.com>
Fri, 12 Aug 2016 16:54:30 +0000 (09:54 -0700)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
commit78e8bf41a1df63504b5ac53522f6f9de4d20063b
tree28be1e99705cbd5aac2f19af3f80bd7c939d646c
parent806140d0c3dc685f7973212730bb201e637e1b08
CAT-69 Volume merge bug

Create function in update_items to handle
find_or_create_volume api call.

Create helper function to match acns and get
the amount of copies in supplied volume in PO.

Create helper function to get number copies from
current volume.

Clean up gather_copies().

Remove instances of direct attempts at modifying
IDL properties, replace with the proper method
calls.

Add helper function to set the acn for the items in the
current PO.

Add FM_ACN_RETRIEVE.authoritative call to find_or_create
helper function.

Set temp_acn's label class, prefix, and suffix
to their object's id within g.find_or_create_volume().

Remove unnecessary loop from g.render_batch_button()

Fix incorrect iteration style to
array-friendly one.

Signed-off-by: Kyle Huckins <khuckins@catalystdevworks.com>
 Changes to be committed:
modified:   Open-ILS/xul/staff_client/server/cat/update_items.js
Open-ILS/xul/staff_client/server/cat/update_items.js