Enh 6403: Record local use stats when checking in unissued materials
authorIan Walls <ian.walls@bywatersolutions.com>
Wed, 21 Sep 2011 18:35:12 +0000 (14:35 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Sun, 9 Oct 2011 06:50:41 +0000 (19:50 +1300)
commite05d53d50d84e28769cdd6e4a474245ea2ee34f0
tree3b6bd0aa4ccb4349a69f5f6ff61f118d4b5b9afe
parentf7387f27daa110c9165a5d69024bd5b4fad0757e
Enh 6403: Record local use stats when checking in unissued materials

Adds a new system preference, RecordLocalUseOnReturn, which when active will change the statistical
entry type from "return" to "localuse" in AddReturn() if the material was not on loan when returned.
The intended use-case here is for libraries with 'open' book drops, in which patrons can put locally
used (but unissued) materials.

Adds a small message to the user interface to confirm that Local Use was recorded.

This change opens up the possibility to record more types of statistics on return; one would just need
to update the $stat_type variable accordingly.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Circulation.pm
circ/returns.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt