From eea2044d2332eb0dcf728d9af53abce554d3b725 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 0e417c593f..da67e8ea13 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -3933,6 +3933,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 feb46886f3..7372aed10d 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