[Koha-bugs] [Bug 11882] Add a new button to the checkout confirmation dialog when checking out a reserved item.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 22 19:23:55 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11882

--- Comment #20 from Marc Véron <veron at veron.ch> ---
Sorry, I missed check-out failing while testing for Sing-off.

Reason for failing:

The patch calls 
AddReturn( $barcode, $branch)
in circ/circulation.pl  (line 557)

AddReturn() immediately returns the item (and adds an entry about returning it
to the Circulation history)

Maybe CheckReserves would be a better way, something like

$tmpitem = GetBiblioItemFromItemNumber(undef, $barcode)
then test return value, call CheckReserves with $tmpitem->{'itemnumber'} and
fill the template params as necessary.

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


More information about the Koha-bugs mailing list