Bug 25348: Add support for circulation status 12 ( lost )
[koha-equinox.git] / C4 / SIP / ILS / Item.pm
index 0950864..056c214 100644 (file)
@@ -265,6 +265,9 @@ sub sip_circulation_status {
     elsif ( Koha::Checkouts::ReturnClaims->search({ itemnumber => $self->{_object}->id, resolution => undef })->count ) {
         return '11';    # claimed returned
     }
+    elsif ( $self->{itemlost} ) {
+        return '12';    # lost
+    }
     elsif ( $self->{borrowernumber} ) {
         return '04';    # charged
     }