Bug 26012: Correctly format "paid for" info on the item details view
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 29 Jul 2020 14:49:14 +0000 (16:49 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 17 Aug 2020 14:48:33 +0000 (14:48 +0000)
commitf16934384efe502a6247b1c4cb981d2684e6dee3
treec1a6942725b2b0c6bbf3fbef6c20ed4526ed5164
parent50cbaa3262b11f9b4541464371477200ed84ca8a
Bug 26012: Correctly format "paid for" info on the item details view

The string is built controller side, which does not let the template
format the info nicely.
We want to display patron's info using patron-title.inc and the date
with the KohaDates plugin

Test plan:
- Make sure there is a replacement cost in the item
- check it out
- Mark it lost
- Pay the lost item fee
- Go to the detail page and look on the items tab for the item
- It will show an entry with "Paid for?" label
The patron's info and date must be correctly formatted

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit ed4fc5889467bde858cfd4ac573cd40a5b4279c5)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
catalogue/moredetail.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt