[Koha-bugs] [Bug 21877] Show authorized value description for withdrawn in checkout

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 25 21:34:59 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21877

Pierre-Marc Thibault <pierre-marc.thibault at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #84274|0                           |1
        is obsolete|                            |

--- Comment #13 from Pierre-Marc Thibault <pierre-marc.thibault at inlibro.com> ---
Created attachment 84437
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84437&action=edit
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 at inLibro.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list