Bug 15172: Serial enumchron/sequence not visible when returning/checking in Items

Displays the items.enumchron-column in returns.pl when checking in Items.

Rewording commit

To test:
-Checkout a barcode for serial with items generated in
Serials >  New subscription or item in DB with items.enumchron-column
-Checkin the same barcode, the table Checked-in items will appear without
information about "Publications details (Vol. 400, No. 32)"
-Apply patch
-Checkout and checkin another item of the same serial title
-Notice about the Vol. 400, No. 32 below the serial title.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
items.enumchron-column display successful in returns.pl (Home>Circulation>
Check in)
NOTE: Patch rebased on master

Signed-off-by: Alain et Aurélie <aurelie.berut@enssib.fr>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Olli-Antti Kivilahti 2015-11-11 13:23:15 +02:00 committed by Kyle M Hall
parent d951ba620c
commit 1d6c235add
2 changed files with 6 additions and 1 deletions

View file

@ -602,6 +602,7 @@ foreach ( sort { $a <=> $b } keys %returneditems ) {
$ri{itemnote} = $biblio->{'itemnotes'};
$ri{itemnotes_nonpublic} = $item->{'itemnotes_nonpublic'};
$ri{ccode} = $biblio->{'ccode'};
$ri{enumchron} = $biblio->{'enumchron'};
$ri{itemnumber} = $biblio->{'itemnumber'};
$ri{barcode} = $bar_code;
$ri{homebranch} = $item->{'homebranch'};

View file

@ -634,7 +634,11 @@ $(document).ready(function () {
[% END %]
</td>
<td class="ci-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber %]">
[% riloo.itemtitle |html %]</a></td>
[% riloo.itemtitle |html %]
</a>
<br/>
<span class="item_enumeration" style="white-space: nowrap;">[% riloo.enumchron %]</span>
</td>
<td class="ci-author">[% riloo.itemauthor %]</td>
<td class="ci-barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber %]&amp;itemnumber=[% riloo.itemnumber %]#item[% riloo.itemnumber %]">[% riloo.barcode %]</a></td>
<td class="ci-homelibrary">[% Branches.GetName( riloo.homebranch ) %]</td>