]> git.koha-community.org Git - koha.git/commit
Bug 22569: Add a 'Transfers to send' report
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 18 Dec 2020 16:37:44 +0000 (16:37 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 11 Mar 2021 10:51:40 +0000 (11:51 +0100)
commita8df1af9e51e02785e5adeceb0010adbb707a246
tree4de9003dcd81b16836655ff363707f720eb76cde
parent9140ea69150520f7a9b4fcc453020af91bd6ed38
Bug 22569: Add a 'Transfers to send' report

This patch adds a 'Transfers to send' report to the circulation page
which displays items which have been triggered for transfer but not
marked as sent.

Test plan
1) Setup a rotation plan and add some items to it as per the
   manual
2) Run the stockrotation cronjob with the --execute flag
3) Check that the expected items appear in the new 'Transfers to send'
   page.
4) Confirm that items marked with 'StockRotationAdvance' provide the
   option to mark the item as 'In demand' (Which will cancel the
   transfer and mark the item as in demand such that it will wait at the
   current branch for an additional stage period before being
   automatically picke for transfer again)
5) Setup a rotating collection
6) Trigger a collection transfer for the above collection
7) Check that the expected items appear in the new 'Transfers to send'
   page'.

Signed-off-by: Kathleen Milne <kathleen.milne@cne-siar.gov.uk>
Bug 22569: (QA follow-up) Rename script to snake_case

As requested, we simply rename the script, and references to it, to use
snake_case to make it clearer.

Bug 22569: (QA follow-up) Rename branchesloop to libraries

Bug 22569: (QA follow-up) Fix indentation in template

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Library.pm
Koha/StockRotationItem.pm
Koha/Util/StockRotation.pm
circ/transfers_to_send.pl [new file with mode: 0755]
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfers_to_send.tt [new file with mode: 0644]