@@ -, +, @@ table /cgi-bin/koha/acqui/basket.pl?basketno=XXXXX - your vendor page => Basket groups - create basket group - (tick the "close this basket group" check box) your vendor page => Basket groups => Closed replace with the relevant type code DELETE from itemtypes where itemtype = "BOOK"; this is the bug (no kidding ^^) that has the same code as the deleted one table at the bottom of the document → "Document" column --- acqui/basketgroup.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/acqui/basketgroup.pl +++ a/acqui/basketgroup.pl @@ -195,7 +195,10 @@ sub printbasketgrouppdf{ } } - $ord->{itemtype} = ( $ord->{itemtype} and $biblioitem->itemtype ) ? Koha::ItemTypes->find( $biblioitem->itemtype )->description : undef; + my $item_has_type_description = ($ord->{itemtype} + and $biblioitem->itemtype + and Koha::ItemTypes->find( $biblioitem->itemtype )); + $ord->{itemtype} = $item_has_type_description ? Koha::ItemTypes->find( $biblioitem->itemtype )->description : undef; $ord->{en} = $en ? $en : undef; $ord->{edition} = $edition ? $edition : undef; --