Revert "LP#1269574 - Exclude backordered copies from deletion."
authorChris Sharp <csharp@georgialibraries.org>
Wed, 3 Oct 2018 18:23:15 +0000 (14:23 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 3 Oct 2018 18:23:15 +0000 (14:23 -0400)
This reverts commit aee918b0f274b0aaf91b76c9e0ba6157372d2402.

Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm

index 868365d..3eae860 100644 (file)
@@ -3155,9 +3155,7 @@ sub cancel_lineitem {
             or return 0;
 
         # gathering any real copies for deletion
-        # if there is a copy ID and the cancel reason keeps debits,
-        # do not delete. 
-        if ($lid->eg_copy_id && ! $U->is_true($cancel_reason->keep_debits)) {
+        if ($lid->eg_copy_id) {
             $lid->eg_copy_id->isdeleted('t');
             push @$copies, $lid->eg_copy_id;
         }