Lines 89-94
elsif ($op eq 'add') {
Link Here
|
89 |
push @item_numbers, $number; |
89 |
push @item_numbers, $number; |
90 |
} |
90 |
} |
91 |
elsif ($number_type eq "barcode" ) { # we must test in case an invalid barcode is passed in; we effectively disgard them atm |
91 |
elsif ($number_type eq "barcode" ) { # we must test in case an invalid barcode is passed in; we effectively disgard them atm |
|
|
92 |
Koha::Plugins->call( 'item_barcode_transform', \$number ); |
92 |
my $item = Koha::Items->find({barcode => $number}); |
93 |
my $item = Koha::Items->find({barcode => $number}); |
93 |
push @item_numbers, $item->itemnumber if $item; |
94 |
push @item_numbers, $item->itemnumber if $item; |
94 |
} |
95 |
} |
95 |
- |
|
|