diff --git a/tools/inventory.pl b/tools/inventory.pl index 4987ed6ed5..8a6f3aca13 100755 --- a/tools/inventory.pl +++ b/tools/inventory.pl @@ -109,6 +109,9 @@ for my $statfield (qw/items.notforloan items.itemlost items.withdrawn items.dama } $hash->{values} = $arr; push @$statuses, $hash; + if ( $statfield eq 'items.notforloan') { + @notforloans = map { $_->{'authorised_value'} } @$arr; + } } }