]> git.koha-community.org Git - koha.git/commit
Bug 31664: Display pending transfer information on details page
authorNick Clemens <nick@bywatersolutions.com>
Fri, 30 Sep 2022 12:01:36 +0000 (12:01 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 2 Nov 2022 22:18:01 +0000 (19:18 -0300)
commita1edf06869c3bf2e82577a32aee3eefbb7dc9219
tree57081184b83ed7b84ccde44a2d712d3c61fd9187
parent83a79f0297c93935b233247f4256231f481c69ce
Bug 31664: Display pending transfer information on details page

If a transfer is requested, but not sent, we should display this information on biblio details for staff

This patch also removes nocancel parameter that was not used, passes transfer object directly to template

To test
1 - Manually transfer an item
2 - Note the item shows in transit on details page
3 - Remove the datesent to emulate a pending transfer
    UPDATE branchtransfers SET datesent = NULL itemnumber=1;
4 - View details page - no info on transfer
5 - Apply patch
6 - Item shows 'Transit pending'

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
catalogue/detail.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt