Koha/circ
Fridolin Somers 36df53ad8d Bug 21877: Use AuthorisedValues.GetDescriptionByKohaField for notforloan in checkout
Using only TT plugin for authorised value description is a better code.

Test plan :
Part 1:
1.1) On a catalog with items.notforloan defined with authorized values category NOT_LOAN
1.2) Define in NOT_LOAN an authorized values 1 with description 'at the beach'
1.3) Define in NOT_LOAN an authorized values 2 with description empty
Part 2:
2.1) Set preference 'AllowNotForLoanOverride' to 'Don't allow'
2.2) Edit an item with notforloan=1
2.3) Checkout this item => You see 'Item not for loan (at the beach)'
2.4) Edit an item with notforloan=2
2.5) Checkout this item => You see 'Item not for loan'
Part 3:
3.1) Set preference 'AllowNotForLoanOverride' to 'Allow'
3.2) Edit an item with notforloan=1
3.3) Checkout this item => You see 'Item is normally not for loan (at the beach)'
3.4) Edit an item with notforloan=2
3.5) Checkout this item => You see 'Item is normally not for loan'

Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com>

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-01-28 11:23:14 +00:00
..
add_message.pl Bug 18403: Update permissions - borrowers => 1|* becomes borrowers => 'edit_borrowers' 2018-02-12 15:41:37 -03:00
article-request-slip.pl Bug 20851: Add module to circ/article-request-slip.pl 2018-06-08 09:48:12 -04:00
article-requests.pl Bug 14610 - Add and update scripts 2016-10-26 12:15:14 +00:00
bookcount.pl Bug 20661: Shortcut circ scripts if a blocking error appeared 2018-08-10 12:23:03 +00:00
branchoverdues.pl Bug 17698: Do not send pending_checkout_notes from all circ scripts 2018-07-23 15:23:44 +00:00
branchtransfers.pl Bug 21719: Fix typos 2018-11-08 02:18:46 +00:00
checkout-notes.pl Bug 17698: Do not send pending_checkout_notes from all circ scripts 2018-07-23 15:23:44 +00:00
circulation-home.pl Bug 17698: (follow-up) Fixing things in Comment 57 2018-07-23 15:23:43 +00:00
circulation.pl Bug 21877: Use AuthorisedValues.GetDescriptionByKohaField for notforloan in checkout 2019-01-28 11:23:14 +00:00
del_message.pl Bug 18403: Update permissions - borrowers => 1|* becomes borrowers => 'edit_borrowers' 2018-02-12 15:41:37 -03:00
hold-transfer-slip.pl Bug 17561: ReserveSlip needs itemnumber for item level holds on same biblio 2018-06-04 13:40:36 -04:00
offline-mf.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
offline.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
on-site_checkouts.pl Bug 17698: Do not send pending_checkout_notes from all circ scripts 2018-07-23 15:23:44 +00:00
overdue.pl Bug 21837: Don't set holdingbranch filter using selected homebranch filter 2018-11-21 11:24:02 +00:00
pendingreserves.pl Bug 21320: Holds to pull should honor syspref AllowHoldsOnDamagedItems 2018-10-15 12:52:55 +00:00
renew.pl Bug 17698: Do not send pending_checkout_notes from all circ scripts 2018-07-23 15:23:44 +00:00
request-article.pl Bug 21291: (follow-up) Pass subscriptionsnumber to all tools in staff detail's sidebar 2018-10-15 13:40:47 +00:00
reserveratios.pl Bug 19997: use Modern::Perl in Circulation perl scripts 2018-02-05 09:45:48 -03:00
returns.pl Bug 21719: Fix typos 2018-11-08 02:18:46 +00:00
selectbranchprinter.pl Bug 21056: Add another flush later 2018-08-09 10:57:08 +00:00
transfer-slip.pl Bug 19997: use Modern::Perl in Circulation perl scripts 2018-02-05 09:45:48 -03:00
transferstoreceive.pl Bug 17698: Do not send pending_checkout_notes from all circ scripts 2018-07-23 15:23:44 +00:00
view_holdsqueue.pl Bug 17698: Do not send pending_checkout_notes from all circ scripts 2018-07-23 15:23:44 +00:00
waitingreserves.pl Bug 21628: Simplify holds awating pickup report 2018-11-08 02:18:47 +00:00
ypattrodue-attr-search-authvalue.pl Bug 19997: use Modern::Perl in Circulation perl scripts 2018-02-05 09:45:48 -03:00
ysearch.pl Bug 20707: Replace circ/search.pl circulate permission requirement with catalogue 2018-05-11 11:36:23 -03:00