Lines 267-273
if ( $op and $op eq 'serialchangestatus' ) {
Link Here
|
267 |
my $subscriptioninfos = GetSubscription($subscriptionids[$i]); |
267 |
my $subscriptioninfos = GetSubscription($subscriptionids[$i]); |
268 |
|
268 |
|
269 |
# Changing the status to "available" and the itemtype according to the previousitemtype db field |
269 |
# Changing the status to "available" and the itemtype according to the previousitemtype db field |
270 |
$serialitem->set( |
270 |
my $item = Koha::Items->find($itemnumber); |
|
|
271 |
$item->set( |
271 |
{ |
272 |
{ |
272 |
notforloan => 0, |
273 |
notforloan => 0, |
273 |
itype => $subscriptioninfos->{'previousitemtype'} |
274 |
itype => $subscriptioninfos->{'previousitemtype'} |
274 |
- |
|
|