Lines 123-131
if($op eq 'delete_confirm'){
Link Here
|
123 |
} |
123 |
} |
124 |
my $items = Koha::Items->search({ itemnumber => \@itemnumbers }); |
124 |
my $items = Koha::Items->search({ itemnumber => \@itemnumbers }); |
125 |
while ( my $item = $items->next ) { |
125 |
while ( my $item = $items->next ) { |
126 |
my $error = $item->safe_delete; |
126 |
my $deleted = $item->safe_delete; |
127 |
$template->param(error_delitem => 1) |
127 |
$template->param(error_delitem => 1) |
128 |
if $error eq '1'; |
128 |
unless $deleted; |
129 |
} |
129 |
} |
130 |
} |
130 |
} |
131 |
for my $serialid (@serialsid){ |
131 |
for my $serialid (@serialsid){ |
132 |
- |
|
|