Koha-clms/t/db_dependent/SIP
Matthias Meusburger 3f33506873
Bug 38658: Display message for expired patrons in SIP when NotifyBorrowerDeparture is disabled
This patch restores the behavior that existed in SIP before Bug 25813 - Enhance patron expiration in SIP display:
Always consider an expired patron as expired, even if NotifyBorrowerDeparture is set to 0 (disabled) or unset.

Test plan:

 - Set NotifyBorrowerDeparture to 0

 - Set a patron's expiry date to be in the past

 - Use misc/sip_cli_emulator.pl to display patron information:
   perl misc/sip_cli_emulator.pl -a localhost -p 6001 -su term1 -sp term1 -l CPL -t CR --patron <cardnumber> -m patron_information

 - Check that you have the following message (AF field):
 "Greetings from Koha. Your account has expired as of <expired date>"

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 47c3527af3)
Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
2025-08-06 14:06:00 +00:00
..
ILS.t Bug 32496: Fix tests 2023-09-22 12:35:47 -03:00
Message.t Bug 23426: (follow-up) Fix failing test to send correct summary flag 2024-11-14 10:46:39 +01:00
Patron.t Bug 38658: Display message for expired patrons in SIP when NotifyBorrowerDeparture is disabled 2025-08-06 14:06:00 +00:00
SIPServer.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Transaction.t Bug 32934: Unit tests 2025-07-31 15:02:17 +02:00