Koha-clms/t/db_dependent/SIP
Matthias Meusburger 47c3527af3
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>
2025-02-21 16:41:28 +01:00
..
ILS.t Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Message.t Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Patron.t Bug 38658: Display message for expired patrons in SIP when NotifyBorrowerDeparture is disabled 2025-02-21 16:41:28 +01:00
SIPServer.t Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Transaction.t Bug 38375: Unit tests 2025-02-19 17:05:30 +01:00