Bug 28854: (follow-up) Use Koha::Item->itemtype introduced with bug 20469
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
cc23b3b918
commit
fd7e417189
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ sub chargelostitem {
|
|||
my $dbh = C4::Context->dbh();
|
||||
my ($borrowernumber, $itemnumber, $amount, $description) = @_;
|
||||
my $item = Koha::Items->find($itemnumber);
|
||||
my $itype = Koha::ItemTypes->find({ itemtype => $item->effective_itemtype() });
|
||||
my $itype = $item->itemtype;
|
||||
my $replacementprice = $amount;
|
||||
my $defaultreplacecost = $itype->defaultreplacecost;
|
||||
my $processfee = $itype->processfee;
|
||||
|
|
Loading…
Reference in a new issue