]> git.koha-community.org Git - koha.git/commit
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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 12 Aug 2020 09:46:37 +0000 (11:46 +0200)
commited4fc5889467bde858cfd4ac573cd40a5b4279c5
treea11d3d34f12483da1dd44f859e147e70c7245360
parent81f06881a45d7647481aa8a21354a772f3daff88
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>
catalogue/moredetail.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt