Adding 'In Receiving' status to back-end functionality.
authorChris Sharp <csharp@georgialibraries.org>
Fri, 2 Aug 2019 15:15:09 +0000 (11:15 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 19 Nov 2022 19:52:45 +0000 (14:52 -0500)
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
Open-ILS/src/perlmods/lib/OpenILS/Const.pm
Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js

index aec6471..da99ef4 100644 (file)
@@ -3998,6 +3998,7 @@ sub check_checkin_copy_status {
             $status == OILS_COPY_STATUS_AVAILABLE   ||
             $status == OILS_COPY_STATUS_CHECKED_OUT ||
             $status == OILS_COPY_STATUS_IN_PROCESS  ||
+            $status == OILS_COPY_STATUS_IN_RECEIVING ||
             $status == OILS_COPY_STATUS_ON_HOLDS_SHELF  ||
             $status == OILS_COPY_STATUS_IN_TRANSIT  ||
             $status == OILS_COPY_STATUS_CATALOGING  ||
index 0ff4880..0e783c0 100644 (file)
@@ -45,6 +45,7 @@ econst OILS_COPY_STATUS_ON_RESV_SHELF => 15;
 econst OILS_COPY_STATUS_LONG_OVERDUE  => 16;
 econst OILS_COPY_STATUS_LOST_AND_PAID => 17;
 econst OILS_COPY_STATUS_CANCELED_TRANSIT => 18;
+econst OILS_COPY_STATUS_IN_RECEIVING => 103;
 
 # ---------------------------------------------------------------------
 # Circ defaults for pre-cataloged copies
index 99c378a..06f6521 100644 (file)
@@ -309,6 +309,7 @@ sub sip_circulation_status {
     return '03' if $stat == OILS_COPY_STATUS_AVAILABLE;
     return '04' if $stat == OILS_COPY_STATUS_CHECKED_OUT;
     return '06' if $stat == OILS_COPY_STATUS_IN_PROCESS;
+    return '06' if $stat == OILS_COPY_STATUS_IN_RECEIVING;
     return '08' if $stat == OILS_COPY_STATUS_ON_HOLDS_SHELF;
     return '09' if $stat == OILS_COPY_STATUS_RESHELVING;
     return '10' if $stat == OILS_COPY_STATUS_IN_TRANSIT;
index e0c9722..42df189 100644 (file)
@@ -234,6 +234,7 @@ function(egCore , $q) {
             ,8  /* On holds shelf */
             ,16 /* Long overdue */
             ,18 /* Canceled Transit */
+            ,103 /* In Receiving */
         ]);
     }