Koha/koha-tmpl/intranet-tmpl/prog/en/includes
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
..
background_jobs Bug 32933: Use val() instead of attr("value") when getting field values with jQuery 2023-02-21 09:11:17 -03:00
catalogue Bug 33070: Remove use of can_edit_items 2023-03-17 09:59:02 -03:00
csv_headers Bug 28327: Unify CSV delimiter special behavior for tabulation 2022-08-19 15:53:12 -03:00
mana Bug 30952: Undo change to Home breadcrumb for remaining templates 2022-10-12 16:00:50 -03:00
modals Bug 31028: (follow-up) Consistently style help-block 2023-03-06 11:23:17 -03:00
str Bug 30642: (follow-up) Change sql and adapt for translations 2023-02-10 11:07:58 -03:00
virtualshelves/merge Bug 32097: Consistent classes for primary buttons: Lists 2022-11-10 10:27:17 -03:00
about-team.inc
accounts.inc Bug 23012: Show the PROCESSING_FOUND account credit type 2022-10-24 17:43:28 -03:00
acquisitions-add-to-basket.inc
acquisitions-menu.inc Bug 31115: (QA follow-up) Use more specific permission for sidebar link 2022-10-24 14:11:08 -03:00
acquisitions-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
acquisitions-toolbar.inc
additional-fields-display.inc
additional-fields-entry.inc Bug 31254: Add additional fields for accountlines 2022-09-21 18:58:28 -03:00
admin-items-search-field-form.inc Bug 32213: Reindent item search fields templates 2022-11-29 09:05:15 -03:00
admin-menu.inc Bug 31378: Rename Auth Provider to Identity Provider and add Client.t tests 2022-11-08 14:39:51 -03:00
adv-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
auth-finder-search.inc Bug 29434: add UNIMARC relationship codes for authorities 2022-08-09 07:42:21 -03:00
auth-two-factor.inc Bug 30588: Add missing include file 2022-10-21 11:36:58 -03:00
authorities-search-results.inc
authorities-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
authorities-toolbar.inc
authorities.inc
authorities_js.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
authority-detail-modal.inc
av-build-dropbox.inc
biblio-title-head.inc
biblio-title.inc Bug 31028: Update patron and biblio includes to remove whitespace 2023-03-06 11:23:17 -03:00
biblio-view-menu.inc Bug 32005: Cleanup indenting 2022-11-10 09:21:50 -03:00
blocked-fines.inc Bug 30487: Convert checkout and patron details page tabs to Bootstrap 2022-10-17 08:06:34 -03:00
blocking_errors.inc
branch-selector.inc
budget_planning.inc
budgets-active-currency.inc
budgets-admin-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
budgets-admin-toolbar.inc
calendar.inc Bug 31261: Introduce flatpickr-futureinclusive 2022-11-14 09:15:51 -03:00
cat-menu.inc Bug 31028: Add ability to report concerns from the staff interface 2023-03-06 11:23:17 -03:00
cat-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
cat-toolbar.inc Bug 31028: Add ability to report concerns from the staff interface 2023-03-06 11:23:17 -03:00
catalog-strings.inc
cataloging-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
catalogue-search-box.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
cateditor-ui.inc Bug 19361: (QA follow-up) Make sure "Not an authorised value" appears in the pull down 2023-03-20 09:39:55 -03:00
cateditor-widgets-marc21.inc Bug 32321: Pre-populate material type for 006 in advanced cataloging editor 2023-01-27 15:14:47 -03:00
category-out-of-age-limit.inc
chart.inc
checkin-search-box.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
checkin-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
checkouts-table-footer.inc Bug 30718: Fix time display 2022-08-19 08:26:38 -03:00
checkouts-table.inc Bug 31728: Remove duplicate claims modal template markup 2022-10-20 11:44:03 -03:00
circ-menu.inc Bug 10950: (follow-up) Change display of pronoun fields 2022-10-03 15:01:34 -03:00
circ-nav.inc Bug 30624: Add loggedinlibrary permission and DB update 2023-03-13 15:22:59 -03:00
circ-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
cities-admin-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
clubs-table.inc
columns_settings.inc Bug 31962: Add tooltip to 'configure' on datatable controls 2023-01-31 10:49:34 -03:00
contracts-admin-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
country-list.inc
currencies-admin-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
datatables.inc
date-format.inc
delimiter_text.inc
desks-admin-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
doc-head-close-receipt.inc
doc-head-close.inc Bug 29723: Add a "Configure table" button for KohaTable tables 2022-08-16 10:12:26 -03:00
doc-head-open.inc Bug 30543: Decouple DumpSearchQueryTemplate from other tempalte dump preferences 2022-08-09 08:44:14 -03:00
empty_line.inc
erm-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
facets.inc Bug 17170: (follow-up) Use x instead of X 2022-10-21 11:15:24 -03:00
filter-orders.inc Bug 31991: Restore style of sidebar forms 2022-10-27 09:41:39 -03:00
form-blocks.inc
format_price.inc
greybox.inc
guided-reports-view.inc
header.inc Bug 30624: Add loggedinlibrary permission and DB update 2023-03-13 15:22:59 -03:00
holds_table.inc Bug 25856: Add suspend class to tr's of suspended holds 2023-03-17 09:59:03 -03:00
home-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
html_helpers.inc Bug 19361: (QA follow-up) Make sure "Not an authorised value" appears in the pull down 2023-03-20 09:39:55 -03:00
i18n.inc
ill-availability-table.inc
ill-list-table-strings.inc Bug 32525: Standardize labels on list of ILL requests and ILL request details page 2023-02-24 16:59:16 -03:00
ill-list-table.inc Bug 32576: Move page-section outside of table include 2023-03-02 09:37:42 -03:00
ill-toolbar.inc
installer-doc-head-close.inc
installer-intranet-bottom.inc
installer-strings.inc
intranet-bottom.inc
intranetstylesheet.inc
job_progress.inc Bug 31666: (QA follow-up) Add filters 2022-10-05 16:08:16 -03:00
js-biblio-format.inc
js-date-format.inc Bug 30310: Fix date_to_rfc3339 2023-01-31 10:19:46 -03:00
js-patron-format-address.inc Bug 32570: Display patron.state correctly 2023-01-31 10:19:44 -03:00
js-patron-format.inc
js-patron-get-age.inc
js_includes.inc Bug 32520: Use DefaultPatronSearchFields in patron_autocomplete 2023-01-27 16:20:54 -03:00
keyboard_shortcuts.inc
labels-toolbar.inc
langmenu-staff-top.inc
last-borrower.inc Bug 30952: Staff interface redesign (header) 2022-10-12 15:58:16 -03:00
letters-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
member-alt-address-style.inc
member-alt-contact-style.inc
member-display-address-style.inc
member-display-alt-address-style.inc
member-main-address-style.inc
member-search-box.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
members-toolbar.inc Bug 31713: (follow-up) Display print option for any outstanding 2022-11-03 10:05:10 -03:00
merge-record.inc Bug 33278: Correct JS for activating default tab on various pages 2023-03-27 11:51:00 +02:00
messaging-preference-form.inc Bug 32492: (follow-up) Add missing HTML filters 2023-03-06 14:45:23 -03:00
modal-claims.inc Bug 29983: Fix xt/author/valid-templates.t 2022-08-08 11:13:59 -03:00
noadd-warnings.inc
onboarding_messages.inc
page-numbers.inc
password_check.inc
patron-age.inc
patron-article-requests.inc Bug 32679: Use different CSS classes for titles of article requests in staff interface 2023-03-06 14:45:24 -03:00
patron-restrictions-tab.inc Bug 31095: Remove GetDebarments from circ/circulation.pl 2023-01-31 10:19:24 -03:00
patron-return-claims.inc Bug 30487: Convert checkout and patron details page tabs to Bootstrap 2022-10-17 08:06:34 -03:00
patron-search-box.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
patron-search-header.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
patron-search.inc Bug 32675: Fix guarantor selection when simple quote present 2023-03-10 10:16:37 -03:00
patron-title.inc Bug 33266: Fix missing space in patron title 2023-03-20 09:39:52 -03:00
patron-toolbar.inc Bug 31421: Add a limited option to template plugin 2022-10-27 09:42:57 -03:00
patron_messages.inc Bug 32373: Show patron restriction date 2023-03-31 12:34:13 +02:00
patroncards-errors.inc
patroncards-toolbar.inc
patronfields.inc Bug 32770: Restore phone 2023-02-22 15:05:24 -03:00
patrons-admin-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
permissions.inc Bug 30624: Add loggedinlibrary permission and DB update 2023-03-13 15:22:59 -03:00
popup-bottom.inc
pos-menu.inc
prefs-admin-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
prefs-menu.inc Bug 32546: Move ILL system preferences into their own tab in administration 2023-02-03 10:30:17 -03:00
recalls.inc
relatives-issues-table.inc Bug 30487: Convert checkout and patron details page tabs to Bootstrap 2022-10-17 08:06:34 -03:00
renew-search-box.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
renew_results.inc
renew_strings.inc
reports-menu.inc Bug 31401: (QA follow-up) Remove Koha.ArePluginsEnabled, it is no longer needed 2022-09-07 13:55:37 -07:00
reports-toolbar.inc
resort_form.inc
restriction-types.inc Bug 31095: Remove GetDebarments from circ/circulation.pl 2023-01-31 10:19:24 -03:00
rotating-collections-toolbar.inc
search_indexes.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
select2.inc
serials-advsearch.inc Bug 32771: Standardize structure around action fieldsets in serials 2023-03-31 12:30:37 +02:00
serials-menu.inc
serials-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
serials-toolbar.inc
shortcut.inc Bug 30952: Staff interface redesign (header) 2022-10-12 15:58:16 -03:00
slip-print.inc
stockrotation-toolbar.inc
sub-header.inc Bug 30952: Staff interface redesign (header) 2022-10-12 15:58:16 -03:00
subscriptions-search.inc Bug 32771: Standardize structure around action fieldsets in serials 2023-03-31 12:30:37 +02:00
subtype_limits.inc
subtypes_unimarc.inc
suggestions-add-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
tools-item-action.inc Bug 28290: Don't send subfields to 'as_string' if none to send 2022-09-07 13:50:21 -07:00
tools-menu.inc Bug 31417: Update and reference cat-menu.inc 2022-10-18 10:28:34 -03:00
tools-nomatch-action.inc
tools-overlay-action.inc
transaction_types.inc
transfer_reasons.inc
validator-strings.inc
vendor-menu.inc
virtualshelves-toolbar.inc
waiting_holds.inc Bug 32503: Use first cancellation for date ordering 2023-02-27 11:37:12 -03:00
wysiwyg-systempreferences.inc
xslt-handler.inc
z3950-admin-search.inc Bug 32683: Convert header search tabs to Bootstrap 2023-03-10 12:04:08 -03:00
z3950_search.inc