Bug 19383: Add ability to print hold receipts automatically
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 3 May 2018 12:23:13 +0000 (08:23 -0400)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 30 Aug 2018 19:52:49 +0000 (19:52 +0000)
commitf7fe10c6ff15fb9d980762d5082561ece882421c
treeba4cdcd63fca39052b0e6888c87d3d0fff2c1f3b
parent4a2bdc80ab1f73315adddf8d24a84c5ec4a82dfe
Bug 19383: Add ability to print hold receipts automatically

Some libraries don't wish to require librarians to confirm each hold during checkin. Instead they would like to only be alerted that a hold was filled.

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Enable the new syspref HoldsAutoFill
4) Check in an item that should be trapped for a hold
5) Note that instead of the modal asking if the hold should be filled,
   instead you get a message box showing the hold was filled, along
   with a button to print the hold slip.
6) Enable the new syspref HoldsAutoFillPrintSlip
7) Repeat step 4
8) Note the same behavior, but this time the print dialog displays
   automatically

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
circ/returns.pl
installer/data/mysql/atomicupdate/bug_19383.sql [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt