[Koha-bugs] [Bug 28064] Transits are not created at check in despite user responding 'Yes, print slip' to the prompt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 12 03:33:35 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28064

Victor Grousset/tuxayo <victor at tuxayo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #119055|0                           |1
        is obsolete|                            |

--- Comment #7 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Created attachment 119440
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119440&action=edit
Bug 28064: Add dotransfer field to slip print submission

By changing the code to only do a javascript triggered submission from
the from button we lose the original buttons name and value elements
upon submission.

This patch checks for those fields in the JS capture and triggers the
addition of a new hidden form field to contain the dotransfer data.

Test plan
1/ Set AutomaticItemReturn system preference is set to "Don't"
2/ Check in an item that belongs to another library, a dialog will ask
   you if you want to transfer.
3/ Click 'Yes, print slip'
4/ Look at the item record and note the status is 'Available'.
5/ Apply patch
6/ Follow steps 2 - 4
7/ Note the status is now 'In transit to...'
8/ Signoff

Signed-off-by: Sally <sally.healey at cheshiresharedservices.gov.uk>
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list