Bug 41206: Add collection code to transfers to receive
This patch adds the collection code to the transfers to receive report It wraps it in a span for styling/hiding To test: 1 - Transfer some books with collection code set to another branch 2 - Sign in as that branch 3 - Circulation -> Transfers to receive 4 - No collection code shown 5 - Apply patch 6 - Refresh 7 - See collection code Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
fa23e8c145
commit
643da6f9cd
|
|
@ -98,6 +98,7 @@ while ( my $library = $libraries->next ) {
|
|||
biblionumber => $biblio->biblionumber,
|
||||
itemnumber => $item->itemnumber,
|
||||
barcode => $item->barcode,
|
||||
ccode => $item->ccode,
|
||||
homebranch => $item->homebranch,
|
||||
holdingbranch => $item->holdingbranch,
|
||||
itemcallnumber => $item->itemcallnumber,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
[% USE AuthorisedValues %]
|
||||
[% USE Koha %]
|
||||
[% USE KohaDates %]
|
||||
[% USE Branches %]
|
||||
|
|
@ -65,6 +66,9 @@
|
|||
<td>
|
||||
[% INCLUDE 'biblio-title.inc' biblio=reser link = 1 %] [% IF ( reser.author ) %]by [% reser.author | html %][% END %]
|
||||
[% IF ( reser.itemtype ) %](<strong>[% reser.itemtype | html %]</strong>)[% END %]
|
||||
[% IF ( reser.ccode ) -%]
|
||||
<span class="collection_code">Collection: [% AuthorisedValues.GetDescriptionByKohaField(kohafield => 'items.ccode', authorised_value => reser.ccode) | html %]</span>
|
||||
[%- END %]
|
||||
<br />Barcode: [% reser.barcode | html %]
|
||||
</td>
|
||||
<td
|
||||
|
|
|
|||
Loading…
Reference in New Issue