[Koha-patches] [PATCH] [Signed Off] bug_5533: new function C4::Circulation::LostItem($itemnumber, $mark_returned)

Liz Rea lrea at nekls.org
Wed Sep 21 19:56:13 CEST 2011


From: Srdjan Jankovic <srdjan at catalyst.net.nz>

Disabled Lost Status on cataloging full item edit
longoverdue.pl calls LostItem() *without* $mark_returned
Item moredetail calls LostItem() *with* $mark_returned
Batch mode edit calls LostItem() *with* $mark_returned

Signed-off-by: Liz Rea <lrea at nekls.org>

I am happy to sign off on this new version. Editing works fine, behavior of 'lost' is as I expected.

Steps to test:
Check out an item with a replacement cost to a patron.
Mark the item lost from moredetail.pl -> should remove the item from checked out items and apply replacement cost to the patron's fines.
Check in the item -> should report "item was lost, now found" and remove the charge (apply a credit, technically) to the patron's fines.

Check out several items to several patrons.
Batch mod those items to lost -> should remove the item from checked out items and apply replacement cost to the patron's fines.
Check in the items -> should report "item was lost, now found" and remove the charge (apply a credit, technically) to the patron's fines.

Editing items:


More information about the Koha-patches mailing list