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

--- Comment #12 from Slava Shishkin <[email protected]> ---
Created attachment 206836
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206836&action=edit
Bug 42505: (follow-up) Fix missing barcode on Next available hold slip

QA feedback: opening the hold transfer slip synchronously (in the
click handler, before the checkin form submits) means the reserve is
not yet confirmed at that point. For a "Next available" hold, the
reserve has no itemnumber attached until confirmation, so ReserveSlip
had nothing to look up a barcode with and the slip printed blank.

ReserveSlip already accepted an itemnumber as a fallback for this
case, but hold-transfer-slip.pl never passed one through. Pass the
checked-in item's number from the confirm form as that fallback, both
from returns.tt's .print handler and through to ReserveSlip.

To test:
1. Set syspref HoldsAutoFill = "Don't".
2. Place a "Next available" (not item-specific) hold.
3. Check in an item that fills that hold.
4. Click "Print slip and confirm" in the "Hold found" modal.
5. Confirm the slip shows the checked-in item's barcode.

Sponsored-by: OpenFifth <https://openfifth.co.uk/>
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Signed-off-by: Slava Shishkin <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to