From be51fd1a2c7f296de60bb19a717754788da9c84f Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Fri, 2 Aug 2019 11:15:09 -0400 Subject: [PATCH] Adding 'In Receiving' status to back-end functionality. --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm | 1 + Open-ILS/src/perlmods/lib/OpenILS/Const.pm | 1 + Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm | 1 + Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js | 1 + 4 files changed, 4 insertions(+) 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 40fe4b0c84..c39d9577d0 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -3945,6 +3945,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 eeb4f8cc0b..6c1395911f 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 e727732e6f..04bc61275b 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm @@ -307,6 +307,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 3a479b7069..57d5bb80c8 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 @@ -197,6 +197,7 @@ function(egCore , $q) { ,8 /* On holds shelf */ ,16 /* Long overdue */ ,18 /* Canceled Transit */ + ,103 /* In Receiving */ ]); } -- 2.11.0