[Koha-bugs] [Bug 24257] item-transfer-modal does not initiate transfer when 'yes, print slip' is selected

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 8 16:43:37 CET 2020


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

--- Comment #5 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 97007
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=97007&action=edit
Bug 24257: Fix close of modal on 'Yes, print slip'

When a item-transfer-modal is prompted by returns.tt and the option
"Yes, print slip" is selected the transfer is not initiated and the
modal does not disappear.

The print_slip hidden input must be in the same form as the
submit/button .print, otherwise the browser logs
  this.form.print_slip is undefined

Test plan:
1. set AutomaticItemReturn to "don't"
2. Check out an item and attempt to check it in at a branch it doesn't
belong to.
3. When the popup modal appears select 'Yes, print slip'.
=> Observe that the transfer does initiate and the modal closes

Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list