From: Chris Sharp Date: Fri, 2 Aug 2019 15:15:09 +0000 (-0400) Subject: Adding 'In Receiving' status to back-end functionality. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a9e3bc7bb3a25551163a7a9b1bcd7f95c4d78231;p=evergreen%2Fpines.git Adding 'In Receiving' status to back-end functionality. --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm index aec6471953..da99ef4d70 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -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 || diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Const.pm b/Open-ILS/src/perlmods/lib/OpenILS/Const.pm index 0ff488090f..0e783c07fb 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Const.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Const.pm @@ -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 diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm index 99c378acc8..06f65215c7 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm @@ -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; diff --git a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js index e0c9722f5f..42df189fd9 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js @@ -234,6 +234,7 @@ function(egCore , $q) { ,8 /* On holds shelf */ ,16 /* Long overdue */ ,18 /* Canceled Transit */ + ,103 /* In Receiving */ ]); }