View | Details | Raw Unified | Return to bug 19840
Collapse All | Expand All

(-)a/circ/returns.pl (-5 / +3 lines)
Lines 281-289 if ($barcode) { Link Here
281
        my $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({frameworkcode => '', kohafield =>'items.materials', authorised_value => $materials });
281
        my $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({frameworkcode => '', kohafield =>'items.materials', authorised_value => $materials });
282
        $materials = $descriptions->{lib} // $materials;
282
        $materials = $descriptions->{lib} // $materials;
283
283
284
        my $issue = Koha::Checkouts->find( { itemnumber => $itemnumber } );
284
        my $checkout = $item->checkout;
285
285
        my $biblio   = $item->biblio;
286
        my $biblio = $item->biblio;
287
        $template->param(
286
        $template->param(
288
            title            => $biblio->title,
287
            title            => $biblio->title,
289
            homebranch       => $item->homebranch,
288
            homebranch       => $item->homebranch,
Lines 297-303 if ($barcode) { Link Here
297
            biblionumber     => $biblio->biblionumber,
296
            biblionumber     => $biblio->biblionumber,
298
            borrower         => $borrower,
297
            borrower         => $borrower,
299
            additional_materials => $materials,
298
            additional_materials => $materials,
300
            issue            => $issue,
299
            issue            => $checkout,
301
        );
300
        );
302
    } # FIXME else we should not call AddReturn but set BadBarcode directly instead
301
    } # FIXME else we should not call AddReturn but set BadBarcode directly instead
303
302
304
- 

Return to bug 19840