[Koha-bugs] [Bug 21883] Show authorized value description for withdrawn in check-in

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 1 15:00:05 CEST 2020


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

--- Comment #6 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 111038
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=111038&action=edit
Bug 21883: AddShow authorized value description for withdrawn in check-in

During check-in (circ/returns.pl) the withdrawn information may be
displayed in a message :
"Item is withdrawn".

Like Bug 21877 we should display the withdrawn authorized value
Description during check-in.

This patch adds this display.
Add <span> for easier translation.
Also adds class 'ci-withdrawn' to ease hidding this new information
via CSS.

Test plan :
1) On a catalog with items.withdrawn defined with authorized values
   category WITHDRAWN
2) Define in WITHDRAWN an authorized values 1 with description
  'dropped in trash'
3) Define in WITHDRAWN an authorized values 2 with description
   empty
4) Check-out an item
5) Edit this item with withdrawn=1
6) Check-in this item => You see 'Item is withdrawn (dropped
   in trash)'
7) Edit this item with withdrawn=2
8) Check-in this item => You see 'Item is withdrawn'

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


More information about the Koha-bugs mailing list