Test plan:
Go to the Fines -> Account page of a patron with fees linked to items
--> without patch there is no link to related item
--> with patch the link is presented in description column
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
if ( $accountline->{itemnumber} ) {
# Because we will not have access to the object from the template
- $accountline->{item} = { biblionumber => $line->item->biblionumber, };
+ $accountline->{item} = $line->item;
}
push @accountlines, $accountline;
}