]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1270289 Support canceling already-canceled lineitems
authorBill Erickson <berick@esilibrary.com>
Tue, 3 Jun 2014 14:18:43 +0000 (10:18 -0400)
committerBen Shum <bshum@biblio.org>
Thu, 7 Aug 2014 21:06:43 +0000 (17:06 -0400)
commit2db9d878b2e3eb1fa63a4ec4b7a0ca09d33ad2ad
treeb1e6f1b61bde6a95b965b04857394e8499d985e4
parentfd5c1c72290429f7a16f5b10c1417b87c2dc9449
LP#1270289 Support canceling already-canceled lineitems

If a lineitem is canceled and the cancel_reason has keep_debits == true
(i.e. the lineitem is "delayed"), allow the lineitem to be canceled
again, up until the point the lineitem cancel_reason has keep_debits ==
false, at which point, no more cancelations are allowed.

Similarly, when a copy is canceled with a keep_debits==true reason,
allow the copy to be canceled when its parent lineitem is canceled,
following the rules above.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
Open-ILS/web/js/ui/default/acq/common/li_table.js