]> git.koha-community.org Git - koha.git/commit
Bug 25815: SIP Checkout: add more information on why the patron is blocked.
authorMatthias Meusburger <matthias.meusburger@biblibre.com>
Thu, 17 Oct 2019 08:32:18 +0000 (10:32 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 20 Apr 2022 07:25:51 +0000 (21:25 -1000)
commitd21157b35c3cee9c74f9abdd436a17e7b4ca3c58
tree6f41336e8f6e59a46568d93ac57ad37cbfaa6c54
parent5e90c0cbb3abc4656139cfdbdefbbc159f67c470
Bug 25815: SIP Checkout: add more information on why the patron is blocked.

Currently, on SIP checkout, Koha only returns "Patron Blocked" when there is
a problem with the patron.

This patch adds more specific informations, with the following messages:

 - "Patron expired"
 - "Patron debarred"
 - "Patron has fines" (see system preference "noissuescharge")
 - "Patron blocked" (see system preference "OverduesBlockCirc")

Test plan:

 - Try to do a SIP checkout with a patron that is in one of the above situations.
 - Check that the displayed message matches the patron's situation.

Signed-off-by: Sonia <sonia.bouis@univ-lyon3.fr>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/SIP/ILS.pm
C4/SIP/ILS/Patron.pm
t/db_dependent/SIP/Transaction.t