]> git.koha-community.org Git - koha.git/commit
Returns reworking to handle empty GetItemIssue
authorJoe Atzberger <joe.atzberger@liblime.com>
Thu, 18 Jun 2009 16:31:33 +0000 (11:31 -0500)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 16 Sep 2009 21:19:40 +0000 (23:19 +0200)
commit1e244d83e3c93c0af786419d484b0fc674ca05ff
treed9558545160e0be3001a4d1d7bd7221a25a6e087
parenta4f02a0fe7ea619c22853a55ef8c1bb22cfe2efd
Returns reworking to handle empty GetItemIssue

Code cannot rely on issueinformation being populated.

Note there is room for better efficiency to have AddReturn also provide the
itemnumber (where existing) so that GetItemnumberFromBarcode is not called
at both levels.  Unfortunately there is discrepancy between this idea (for
efficiency) and the stated purpose of the $iteminformation object returned,
since $iteminformation is specifically the info from the issues table and
MUST be empty when the item was not in fact issued.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Circulation.pm
circ/returns.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl