Koha/koha-tmpl/intranet-tmpl/prog/en/modules/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
..
article-requests.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
bookcount.tt Bug 22007: Remove html filters when KohaDates called with a parameter 2019-01-02 20:42:18 +00:00
branchoverdues.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
branchtransfers.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
checkout-notes.tt Bug 21693: Make page title consistent with other pages 2018-12-26 20:47:05 +00:00
circulation-home.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
circulation.tt Bug 21877: Use AuthorisedValues.GetDescriptionByKohaField for notforloan in checkout 2019-01-28 11:23:14 +00:00
circulation_batch_checkouts.tt Bug 21526: uri escape TT variables when used in 'a href' 2018-10-26 17:09:57 +00:00
offline-mf.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
offline.tt Bug 13272: Adds type="text" to inputs missing it 2018-10-01 11:18:30 +00:00
on-site_checkouts.tt Bug 21442: Update two-column templates with Bootstrap grid: Circulation part 1 2019-01-11 13:25:02 +00:00
overdue.tt Bug 21442: Update two-column templates with Bootstrap grid: Circulation part 1 2019-01-11 13:25:02 +00:00
pendingreserves.tt Bug 21442: Update two-column templates with Bootstrap grid: Circulation part 1 2019-01-11 13:25:02 +00:00
printslip.tt Bug 21526: (follow-up) Use the 'url' filter when needed 2018-11-12 16:35:44 -03:00
renew.tt Bug 22054: Updated the error message for attempting to renew an onsite checkout 2019-01-17 02:23:27 +00:00
request-article.tt Bug 21442: Update two-column templates with Bootstrap grid: Circulation part 1 2019-01-11 13:25:02 +00:00
reserveratios.tt Bug 21785: Add columns configuration to hold ratios report 2019-01-11 13:27:00 +00:00
returns.tt Bug 22203: Holds modal does not link to patorn account 2019-01-28 11:15:42 +00:00
selectbranchprinter.tt Bug 21569: Update two-column templates with Bootstrap grid: Circulation part 3 2019-01-11 12:27:04 +00:00
transferstoreceive.tt Bug 21569: Update two-column templates with Bootstrap grid: Circulation part 3 2019-01-11 12:27:04 +00:00
view_holdsqueue.tt Bug 21569: Update two-column templates with Bootstrap grid: Circulation part 3 2019-01-11 12:27:04 +00:00
waitingreserves.tt Bug 21569: Update two-column templates with Bootstrap grid: Circulation part 3 2019-01-11 12:27:04 +00:00