Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Kyle M Hall ecd89d2030 Bug 14945 - Add the ability to store the last patron to return an item
Currently if the AnonymousPatron system preference is in use, all patron
data is anonymized. Some libraries would like to be able to see the last
patron who returned out an item ( in case of damage ) but still keep all
other patrons anonymized.

* Add the table items_last_borrower ( id, itemnumber, borrowernumber )
* Add new system preference StoreLastBorrower
* If StoreLastBorrower is enabled, upon checkin have Koha insert into
  this table the patron who last returned this item. Replace existing
  row based on itemnumber if exists.
* If table has a row for a given item, link to the patron from the item
  details page.

Test plan:
1) Apply patch
2) Run updatedatabase.pl
3) Enable StoreLastBorrower
4) Issue an item to a patron and return said item
5) Issue the same item to a second patron, do not return it.
6) View moredetail.pl for the given bib, find the given item. There
   should be a new field in the history list 'Last returned by' with a link
   to the last patron to return the item.

Optionally, you can also verify this works even if patron issuing
history has been set to anonymize issues upon return.

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>

Signed-off-by: Jen DeMuth <JDeMuth@roseville.ca.us>
Signed-off-by: Tom Misilo <misilot@fit.edu>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2015-12-31 19:32:20 +00:00
..
preferences Bug 14945 - Add the ability to store the last patron to return an item 2015-12-31 19:32:20 +00:00
admin-home.tt Bug 15099 [QA Followup] - Make bug pass koha-qa.pl 2015-12-30 16:49:16 +00:00
aqbudgetperiods.tt Bug 14915: (QA followup) Replace fa-remove-sign with fa-times-circle 2015-10-27 10:03:06 -03:00
aqbudgets.tt Bug 13891: DataTables server-side processing - budget users 2015-04-13 10:55:13 -03:00
aqcontract.tt Bug 14931: (Follow-up) Validate date entry in contracts 2015-10-29 12:00:36 -03:00
aqplan.tt Bug 15049: Simplify code in aqplan.tt 2015-12-30 23:34:34 +00:00
audio_alerts.tt Bug 11431: (QA followup) Add ability to edit audio alerts 2015-11-04 12:33:10 -03:00
auth_subfields_structure.tt Bug 15233: (followup) Remove 2 sentences. 2015-12-29 23:14:39 +00:00
auth_tag_structure.tt Bug 15381: Remove getauthtypes and getauthtype 2015-12-31 18:59:02 +00:00
authorised_values.tt Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
authtypes.tt Bug 15380: Use Koha::Authority::Type[s] in admin script 2015-12-31 18:50:41 +00:00
biblio_framework.tt Bug 14889: Fix error msg on duplicate 2015-12-31 19:04:45 +00:00
branch_transfer_limits.tt Bug 15363: Translatability: Fix issue with ambiguous 'all' on Administration > Set library checkin and transfer policy 2015-12-29 20:35:49 +00:00
branches.tt Bug 15373: More changes of Zip to ZIP on intranet 2015-12-30 16:30:35 +00:00
categories.tt Bug 15099 [QA Followup] - Make bug pass koha-qa.pl 2015-12-30 16:49:16 +00:00
checkmarc.tt
cities.tt Bug 15373: More changes of Zip to ZIP on intranet 2015-12-30 16:30:35 +00:00
classsources.tt Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
clone-rules.tt
columns_settings.tt Bug 15361: Translatability: Fix issue on Administration Columns settings 2015-12-29 20:28:04 +00:00
currency.tt Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
didyoumean.tt Bug 15362: Translatability: Fix issue on Administration 'Did you mean?' 2015-12-29 20:33:43 +00:00
fieldmapping.tt
item_circulation_alerts.tt
items_search_field.tt
items_search_fields.tt
itemtypes.tt Bug 14100: Better errors handling 2015-10-27 12:34:07 -03:00
koha2marclinks.tt Bug 15236: Better translatibility in "Connect biblio.biblionumber to a MARC subfield" 2015-12-29 23:29:56 +00:00
localization.tt Bug 14100: Move add form to the top 2015-10-27 12:34:07 -03:00
marc_subfields_structure.tt Bug 15233: (followup) Remove 2 sentences. 2015-12-29 23:14:39 +00:00
marctagstructure.tt Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
matching-rules.tt Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
oai_set_mappings.tt
oai_sets.tt Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
patron-attr-types.tt Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
preferences.tt Bug 11584: Introduce UseWYSIWYGinSystemPreferences syspref 2015-08-28 10:29:39 -03:00
printers.tt Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
smart-rules.tt Bug 9129 - Add the ability to set the maximum fine for an item to its replacement price 2015-12-31 15:29:36 +00:00
sru_modmapping.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
systempreferences.tt Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
transport-cost-matrix.tt Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
z3950servers.tt Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00