@@ -, +, @@
print explode
---
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt | 3 ++-
members/summary-print.pl | 3 ---
2 files changed, 2 insertions(+), 4 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt
@@ -2,6 +2,7 @@
[% USE Branches %]
[% USE KohaDates %]
[% USE Price %]
+[% USE ItemTypes %]
[% SET footerjs = 1 %]
[% PROCESS 'accounts.inc' %]
@@ -55,7 +56,7 @@
[% issue.author | html %] |
[% issue.itemcallnumber | html %] |
- [% issue.itemtype_description | html %] |
+ [% ItemTypes.GetDescription( issue.itype ) | html %] |
[% issue.date_due | $KohaDates as_due_date => 1 %] |
[% issue.barcode | html %] |
[% issue.charge | $Price %] |
--- a/members/summary-print.pl
+++ a/members/summary-print.pl
@@ -93,9 +93,6 @@ sub build_issue_data {
my ( $charge, $itemtype ) =
GetIssuingCharges( $checkout->{itemnumber}, $borrowernumber );
- $itemtype = Koha::ItemTypes->find( $itemtype );
- $checkout->{itemtype_description} = $itemtype->description; #FIXME Should not it be translated_description
-
$checkout->{charge} = $charge;
$checkout->{overdue} = $c->is_overdue;
--