Lines 94-100
sub build_issue_data {
Link Here
|
94 |
GetIssuingCharges( $checkout->{itemnumber}, $borrowernumber ); |
94 |
GetIssuingCharges( $checkout->{itemnumber}, $borrowernumber ); |
95 |
|
95 |
|
96 |
$itemtype = Koha::ItemTypes->find( $itemtype ); |
96 |
$itemtype = Koha::ItemTypes->find( $itemtype ); |
97 |
$checkout->{itemtype_description} = $itemtype->description; #FIXME Should not it be translated_description |
97 |
if (defined $itemtype) { |
|
|
98 |
$checkout->{itemtype_description} = $itemtype->description; #FIXME Should not it be translated_description |
99 |
} |
98 |
|
100 |
|
99 |
$checkout->{charge} = sprintf( "%.2f", $charge ); # TODO Should be done in the template using Price |
101 |
$checkout->{charge} = sprintf( "%.2f", $charge ); # TODO Should be done in the template using Price |
100 |
|
102 |
|
101 |
- |
|
|