Bug 27907: Add support for circulation status 2 ( on order )

In Koha, we represent on order items by giving those items a notforloan
value less then zero. We can use this to implement circ status 02 ( on
order ) in for SIP.

Signed-off-by: Christopher Kellermeyer - Altadena Library District <ckellermeyer@altadenalibrary.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 19721bd671)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Kyle M Hall 2021-03-10 10:33:28 -05:00 committed by Fridolin Somers
parent cbd42bdc7c
commit 569bb4d27e
1 changed files with 3 additions and 0 deletions

View File

@ -281,6 +281,9 @@ sub sip_circulation_status {
elsif ( $self->{location} eq 'CART' ) {
return '09'; # waiting to be re-shelved
}
elsif ( $self->{notforloan} < 0 ) {
return '02'; # on order
}
else {
return '03'; # available
} # FIXME: 01-13 enumerated in spec.