]> git.koha-community.org Git - koha.git/commit
Bug 24295: Remove GetTransfers from detail.pl
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 15 Mar 2021 16:18:36 +0000 (16:18 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 26 Aug 2022 18:42:27 +0000 (15:42 -0300)
commit8dab736b76fbe7ae2bbbc62a0e5a133076cbd56d
tree715d91450e287f0f3a6db939b1db86d6993d7ac5
parent62512dc5d6e56eea4241ca8887d395b96f4173fd
Bug 24295: Remove GetTransfers from detail.pl

This patch replaces the call to GetTransfers in detail.pl with the
get_transfer method available from the Koha::Item object

Test plan
1/ Trigger the transfer of the item
2/ Check the detail page for the display of the current transfer
   status
3/ Apply patch
4/ Repeat step 2

JK: Remove unneeded string formatting for transfertwhen as it's done
    on the template toolkit side already with $KohaDates

Rebased-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
catalogue/detail.pl