bug fixed: ItemType function seems to have vanished. I replace by the
description key returned by C4::Koha::getitemtypeinfo.
This commit is contained in:
parent
dc986ecac5
commit
0840184d25
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ for (my $i=0;$i<$count;$i++){
|
||||||
# return the correct item type either (or a properly-formatted
|
# return the correct item type either (or a properly-formatted
|
||||||
# charge, for that matter).
|
# charge, for that matter).
|
||||||
my ($charge,$itemtype)=calc_charges($dbh,$issue->[$i]{'itemnumber'},$bornum);
|
my ($charge,$itemtype)=calc_charges($dbh,$issue->[$i]{'itemnumber'},$bornum);
|
||||||
$row{'itemtype'}=&ItemType($itemtype);
|
$row{'itemtype'} = getitemtypeinfo($itemtype)->{description};
|
||||||
$row{'charge'}= sprintf("%.2f",$charge);
|
$row{'charge'}= sprintf("%.2f",$charge);
|
||||||
|
|
||||||
#check item is not reserved
|
#check item is not reserved
|
||||||
|
|
Loading…
Reference in a new issue