Bug 19798: Fix print transfer slip
... and maybe other bugs as well What happens here is that $itemnumber is no longer set when barcode is passed. Test plan: 1. Check in available/not on hold item at a non owning library. 2. Click print slip 3. Item's info must be displayed on the slip Signed-off-by: Björn Nylén <bjorn.nylen@ub.lu.se> Signed-off-by: Björn Nylén <bjorn.nylen@ub.lu.se> Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk> 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:
parent
0853b50f01
commit
91990b04b9
1 changed files with 1 additions and 0 deletions
|
@ -263,6 +263,7 @@ if ($barcode) {
|
|||
my $item = Koha::Items->find({ barcode => $barcode });
|
||||
|
||||
if ( $item ) {
|
||||
$itemnumber = $item->itemnumber;
|
||||
# Check if we should display a checkin message, based on the the item
|
||||
# type of the checked in item
|
||||
my $itemtype = Koha::ItemTypes->find( $item->effective_itemtype );
|
||||
|
|
Loading…
Reference in a new issue