[Koha-bugs] [Bug 32373] Show date of restriction on patron screen

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 23 15:37:12 CET 2023


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

--- Comment #26 from Laura Escamilla <Laura.escamilla at bywatersolutions.com> ---
(In reply to PTFS Europe Sandboxes from comment #24)
> Created attachment 147230 [details] [review]
> 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 at cheshiresharedservices.gov.uk>

Signed-off-by: Laura Escamilla <laura.escamilla at bywatersolutions.com>

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


More information about the Koha-bugs mailing list