[Koha-patches] [PATCH] (bug #3781) fix lost items and return
Michael Hafen
mdhafen at tech.washk12.org
Tue Nov 10 16:31:40 CET 2009
Good work. I see a couple of warn's though.
On Tue, 2009-11-10 at 14:05 +0100, Nahuel ANGELINETTI wrote:
> this fix informations needed to update lost status of lost document returned.
> ---
> @@ -1477,6 +1478,8 @@ sub AddReturn {
> # fix up the accounts.....
> if ($iteminformation->{'itemlost'}) {
> FixAccountForLostAndReturned($iteminformation, $borrower);
> + warn $biblio->{'biblionumber'};
> + warn $iteminformation->{'itemnumber'};
> ModItem({ itemlost => '0' }, $biblio->{'biblionumber'}, $iteminformation->{'itemnumber'});
> $messages->{'WasLost'} = 1;
> }
--
Michael Hafen
Systems Analyst and Programmer
Washington County School District
Utah, USA
for Koha checkout
http://development.washk12.org/gitweb/
or
git://development.washk12.org/koha
More information about the Koha-patches
mailing list