]> git.evergreen-ils.org Git - Evergreen.git/commit
lp978095 auto-canceling lineitems
authorJason Etheridge <jason@EquinoxInitiative.org>
Fri, 2 Feb 2018 16:30:36 +0000 (11:30 -0500)
committerMike Rylander <mrylander@gmail.com>
Wed, 29 Aug 2018 14:35:49 +0000 (10:35 -0400)
commit848484c3171a53a173b86af404de1658e69153a3
tree2f561bd157eae8ffa7f6589b157e5f7abe77ce53
parentf1c3c905d3c5efded57616f67d630c801e713073
lp978095 auto-canceling lineitems

"Acq: lineitems display as "on order" even after all copies have been cancelled"

When a copy (lineitem detail) on a lineitem is canceled through the UI, all of
the sibling copies are examined, and if they also happen to be canceled, then a
cancel attempt is made on the parent lineitem.

The cancel reason fed to the lineitem cancelation attempt will be the last
cancel reason on an examined sibling lineitem where Keep Debits is True, or
failing that, the cancel reason used wih the copy just canceled.

The UI will refresh to the lineitem view when such an auto-cancelation happens.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
Open-ILS/web/js/ui/default/acq/common/li_table.js
docs/RELEASE_NOTES_NEXT/Acquisitions/autocancel_lineitems_when_all_copies_are_canceled.adoc [new file with mode: 0644]