Bug 22569: (QA follow-up) Use itemtype description

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Martin Renvoize 2021-03-05 12:33:41 +00:00 committed by Jonathan Druart
parent bc45249291
commit 3c65a3cdfe
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
[% USE Koha %]
[% USE KohaDates %]
[% USE Branches %]
[% USE ItemTypes %]
[% SET footerjs = 1 %]
[% PROCESS 'transfer_reasons.inc' %]
[% INCLUDE 'doc-head-open.inc' %]
@ -55,7 +56,7 @@
<td><p><span title="[% transfer.daterequested | html %]">[% transfer.daterequested | $KohaDates %]</span></p></td>
<td>
[% INCLUDE 'biblio-title.inc' biblio = transfer.item.biblio link = 1 %][% IF ( transfer.item.biblio.author ) %] by [% transfer.item.biblio.author | html %][% END %]
[% IF ( transfer.item.effective_itemtype ) %] (<b>[% transfer.item.effective_itemtype | html %]</b>)[% END %]
[% IF ( transfer.item.effective_itemtype ) %] (<b>[% ItemTypes.GetDescription( transfer.item.effective_itemtype ) | html %]</b>)[% END %]
<br />Barcode: [% transfer.item.barcode | html %]
</td>
<td><p>[% PROCESS transfer_reason transfer=transfer %]</p></td>