LP#978095 Cancel lineitem if there are no copies
authorLiam Whalen <liam.whalen@bc.libraries.coop>
Thu, 5 Nov 2015 18:34:22 +0000 (10:34 -0800)
committerLiam Whalen <liam.whalen@bc.libraries.coop>
Thu, 5 Nov 2015 18:34:22 +0000 (10:34 -0800)
commit5b33f1c56f1a45297080356ad6a1e5c09d0f6e9a
tree690dcb044403e1a1f75c0358a94b63c6f4293a98
parent7ca6e9952fef14ca50b0f57d8efe45b312fdaad8
LP#978095 Cancel lineitem if there are no copies

Currently, it is possible to cancel the last copy on a lineitem without
also cancelling the lineitem itself.  This code cancels the lineitem
after the last copy has been canceled.

Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm