Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences
Jonathan Druart 32ff96a875 Bug 19287: Add ability to mark an item 'Lost' from 'Holds to pull' list
The goal to this enhancement is to add the ability to cancel a hold and
mark items as lost from the 'Holds to pull' page.
A new pref is added to control the behaviour, default is off

To mark items as lost you need to set the new pref CanMarkHoldsToPullAsLost to one of these two values:
- "Allow to mark items as lost"
=> The item will be marked as lost and the hold will be cancelled
- "Allow to mark items as lost and notify the patron"
=> Same as previously but the patron will be notified as well.

The notification is done using a new notice template (code=CANCEL_HOLD_ON_LOST).
Feel free to suggest another default wording.

To update the values of the items when one of these 2 buttons are used, you need to
fill the UpdateItemWhenLostFromHoldList with something like: 'itemlost: 1'

Test plan:
1/ Place holds on some items
2/ Go to Home > Circulation > Holds to pull
From here you can cancel the hold or
3/ Mark the items as lost
=> You will receive feedback messages depending on different situations:
* The CANCEL_HOLD_ON_LOST does not exist
* The patron does not have an email address (but the notice has been
enqueued! It is the current behaviour with other notices)
* The notice has been enqueued
* The hold has been cancelled

QA Notes:
From which library do we want to pick the notice? This patch use
reserves.branchcode

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

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-04-23 12:42:38 -03:00
..
acquisitions.pref Bug 19289: Use the ACQ framework to display bibliographic details 2018-04-11 16:45:20 -03:00
admin.pref Bug 7317: (QA followup) ILL sysprefs belong to circulation section 2017-11-09 11:42:15 -03:00
authorities.pref Bug 14769: Add preference AuthorityControlledIndicators 2018-04-12 10:50:35 -03:00
cataloguing.pref Bug 11674: Configuration for MARC field doc URLs 2018-04-16 14:07:27 -03:00
circulation.pref Bug 19287: Add ability to mark an item 'Lost' from 'Holds to pull' list 2018-04-23 12:42:38 -03:00
enhanced_content.pref Bug 19882: Fix syntax issue in .pref file 2018-04-16 11:17:31 -03:00
i18n_l10n.pref Bug 20115: Add information about this feature in the pref descriptions 2018-04-04 15:45:44 -03:00
local_use.pref
logs.pref
opac.pref Bug 20291: (follow-up) Rename NoLoginInstructions to OpacLoginInstructions 2018-04-02 18:08:07 -03:00
patrons.pref Bug 20264: Remove syspref checkdigit 2018-03-23 11:45:38 -03:00
searching.pref Bug 19290: Browse selected bibliographic records - Staff interface 2018-02-19 16:13:30 -03:00
serials.pref
staff_client.pref Bug 20291: Add a StaffLoginInstructions preference for adding text to staff client login 2018-04-02 18:08:07 -03:00
tools.pref
web_services.pref Bug 19278: Add RESTdefaultPageSize syspref 2017-12-11 17:46:59 -03:00