]> git.koha-community.org Git - koha.git/commit
Bug 30407: Add ability to syspref UpdateNotForLoanStatusOnCheckin to show only the...
authorEmmi Takkinen <emmi.takkinen@koha-suomi.fi>
Wed, 30 Mar 2022 08:58:46 +0000 (11:58 +0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 27 Oct 2022 16:26:04 +0000 (13:26 -0300)
commit89e2f5bc22b739689a4bc4a118d5379a39870f88
tree865821f56513ba5c9ccf4948a4bdaf2b09269112
parentcffb97f1ce8e4fc584ebc91909db1a0ed3bce1b5
Bug 30407: Add ability to syspref UpdateNotForLoanStatusOnCheckin to show only the notforloan values description

This can be used to instruct staff how the item should handled when
it's checked in. For example items notforloan status has been
changed as "Invoiced item" while item has been on loan. When it's
checked in staff sees that they should put item aside for further
processing.

To test:
1. Apply patch and update database if needed
2. Set items notforloan status as -1 (or create new one)
3. Add line "-1: ONLYMESSAGE" to UpdateNotForLoanStatusOnCheckin
4. Check item out for patron.
5. Check item in.
=> Description of notforloan status should be displayed.
=> Confirm notforloan status hasn't changed.

Also prove t/db_dependent/Circulation/issue.t

Sponsored-by: Koha-Suomi Oy
Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Circulation.pm
installer/data/mysql/atomicupdate/bug_30407.pl [new file with mode: 0755]
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt
t/db_dependent/Circulation/issue.t