@@ -, +, @@
---
.../intranet-tmpl/prog/en/modules/tools/inventory.tt | 6 ++----
tools/inventory.pl | 20 --------------------
2 files changed, 2 insertions(+), 24 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt
@@ -295,13 +295,11 @@ $(document).ready(function(){
[% IF result.problem == 'wrongplace' %]
- Item should not have been scanned
- [% ELSIF result.problem == 'missingitem' %]
- Item missing
+ Item at wrong location (should not have been scanned)
[% ELSIF result.problem == 'changestatus' %]
Unknown not-for-loan status
[% ELSIF result.problem == 'not_scanned' %]
- Item should have been scanned
+ Item missing (should have been scanned)
[% END %]
|
--- a/tools/inventory.pl
+++ a/tools/inventory.pl
@@ -257,24 +257,6 @@ if ( $markseen or $op ) {
}
-# If "compare barcodes list to results" has been checked, we want to alert for missing items
-if ( $compareinv2barcd ) {
- # set "missing" flags for all items with a datelastseen (dls) before the chosen datelastseen (cdls)
- my $dls = output_pref( { dt => dt_from_string( $datelastseen ),
- dateformat => 'iso' } );
- foreach my $item ( @$inventorylist ) {
- my $cdls = output_pref( { dt => dt_from_string( $item->{datelastseen} ),
- dateformat => 'iso' } );
- if ( $cdls lt $dls ) {
- $item->{problem} = 'missingitem';
- # We have to push a copy of the item, not the reference
- push @items_with_problems, { %$item };
- }
- }
-}
-
-
-
# insert "wrongplace" to all scanned items that are not supposed to be in this range
# note this list is always displayed, whatever the librarian has chosen for comparison
my $moddatecount = 0;
@@ -389,8 +371,6 @@ if (defined $input->param('CSVexport') && $input->param('CSVexport') eq 'on'){
if ( defined $item->{problem} ) {
if ( $item->{problem} eq 'wrongplace' ) {
push @line, "wrong place";
- } elsif ( $item->{problem} eq 'missingitem' ) {
- push @line, "missing item";
} elsif ( $item->{problem} eq 'changestatus' ) {
push @line, "change item status";
} elsif ($item->{problem} eq 'not_scanned' ) {
--