Koha-clms/svc
Jonathan Druart 2e72eb8880 Bug 10860: In-House Use
This patch implements the In-House Use feature for Koha.

It adds:
- 2 new sysprefs:
  'In-House Use' to enable/disable this feature
  'In-House Use Forced' to enable/disable the feature for *all* users.
- 2 new columns issues.inhouse_use and old_issues.inhouse_use
- Datatable on the circulation history pages (readingrec) at the OPAC
  and the intranet.

A new checkbox in the Circulation tab. If checked, the issue become a
in-house use (in the statistics and issues tables).
When you check it, the due date changes to the today date.

The syspref "In-House Use Force" allows to force the in-house use to
permit the checkout even if the borrower is debarred or others problems.

In the issue table, a new string (in red) marks the issue as "in-house use".

The circulation history contains 3 tabs : "all", "checkout" and
"in-house use" (OPAC and intranet).

The cronjob script:
If AutomaticItemReturn if off, a library would like not to do a transit
operation manually. This script (to launch each night) do returns
for a specific branches.

Test plan:
1/ Execute the updatedatabase entry
2/ Enable the 'In-House Use' pref.
3/ Checkout a biblio for a patron and check the 'in-house use' checkbox.
4/ Check that the due date is the today date (with 23:59) and is not modifiable.
5/ Click on the check out button and check that the new check out
appears in the table bellow with the "(In-house use)" string.
6/ Go on the circulation history pages (readingrec and opac-readingrec)
and try the 3 tabs. In the last one, your last checkout should appear.
7/ Check in.
8/ Check readingrec pages.
9/ Choose a debarred patron and check that you cannot checkout a biblio
for him.
10/ Switch on the 'In-House Use Forced' pref
11/ You are now allowed to checkout a biblio for the debarred patron.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-11-03 10:26:19 -03:00
..
config Bug 9827: remove 'insecure' system preference 2013-03-19 21:46:34 -04:00
members Bug 12833: Patron search should search on extended attributes 2014-09-09 10:08:59 -03:00
authentication Fix FSF address in directory svc/ 2010-03-16 20:17:51 -04:00
bib Bug 12590 - Support deletion of biblio in svc API 2014-10-27 11:13:49 -03:00
bib_profile Fix FSF address in directory svc/ 2010-03-16 20:17:51 -04:00
checkin Bug 12662: (follow-up) Ajax-based check in does not work for some system preference settings enabled 2014-07-30 14:29:29 -03:00
checkouts Bug 10860: In-House Use 2014-11-03 10:26:19 -03:00
cover_images Bug 7813: (follow-up) improvements for deleting local cover images 2013-09-21 18:11:13 +00:00
holds Bug 11703: (qa followup) consistency in svc 2014-07-03 12:38:13 -03:00
import_bib Bug 9908 - Fixing OCLC Connexion Client 2013-03-29 21:29:10 -04:00
letters Bug 11742: A letter code should be unique. 2014-06-23 15:19:55 -03:00
new_bib Bug 7729 : svc/new_bib: support ?items=1 to add POSTed items to the new biblio too 2012-07-17 18:12:09 +02:00
renew Bug 11703: (qa followup) consistency in svc 2014-07-03 12:38:13 -03:00
report Bug 11349: Change .tmpl -> .tt in scripts using templates 2014-07-17 11:05:49 -03:00