Bug 24434: Submit on print slip
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 17 May 2021 09:42:04 +0000 (10:42 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 15 Jun 2021 13:49:18 +0000 (15:49 +0200)
commite75ecdea92f2033f064557804b50c09db7b31937
tree593a25a6befd135e3a0b804f13430d1ad75661ca
parentba678553ce179760d21a900471ad90935c3c567b
Bug 24434: Submit on print slip

This patch ensures that the print slip option on the WrongTransfer modal
also submits the form and thus triggers the actual transfer of the item.

We also prevent a double transfer submission (and thus a cancellation
line appearing in the branchtransfers table) for the case where a
transfer back home is triggered.

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt