Koha/circ
Matt Blenkinsop 561dac9335
Bug 32373: Show patron restriction date
This is a rebased submission following bug 31095 which removed the use of GetDebarments. This patch now uses $patron->restrictions to find the date and pass it to the template

Test plan:
1) Create a restriction on a patron and navigate to that patron in Checkouts or the patron details page
2) There should be a message with details about the restriction but the creation date of the restriction won't be included in the message
3) Apply patch
4) The message should now say "Restricted since DATE" as in the screenshot attached.
5) Change the 'dateformat' syspref and refresh, the date should change to reflect the syspref

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-03-31 12:34:13 +02:00
..
add_message.pl
article-request-slip.pl
article-requests.pl
bookcount.pl
branchoverdues.pl
branchtransfers.pl
checkout-notes.pl
circulation-home.pl
circulation.pl Bug 32373: Show patron restriction date 2023-03-31 12:34:13 +02:00
curbside_pickups.pl Bug 32883: (QA follow-up) Adjust ordering for pickups 2023-03-27 11:49:33 +02:00
del_message.pl
hold-transfer-slip.pl
offline-mf.pl
offline.pl
on-site_checkouts.pl
overdue.pl
pendingreserves.pl Bug 32421: Add collection column to holds to pull 2023-03-14 09:06:14 -03:00
renew.pl
request-article.pl
reserveratios.pl
returns.pl Bug 23012: Apply processing fee return policy when lost item found 2022-10-24 17:43:29 -03:00
set-library.pl Bug 30624: (QA follow-up) Use C4:Context to get permissions 2023-03-13 15:23:20 -03:00
transfer-slip.pl
transfers_to_send.pl
transferstoreceive.pl Bug 24295: Remove GetTransfers from circ/transferstoreceive.pl 2022-08-26 15:42:52 -03:00
view_holdsqueue.pl
waitingreserves.pl