Koha/koha-tmpl/opac-tmpl
Marcel de Rooy 0a471bfeda
Bug 31503: Make opac-patron-consent more generic
Adds $patron->consent and $consents->available_types.
Incorporates them into script/template.
Provides two unit tests.

Note: A follow-up patch helps you test this with an
example plugin.

Test plan:
Run t/db_dependent/Koha/Patron.t
Run t/db_dependent/Koha/Patron/Consents.t
Toggle the value of pref PrivacyPolicyConsent and look at
OPAC account, tab Consents.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-25 10:35:20 -03:00
..
bootstrap Bug 31503: Make opac-patron-consent more generic 2023-10-25 10:35:20 -03:00
lib Bug 34270: Upgrade and prune jQueryUI assets in the staff interface 2023-10-09 11:41:18 -03:00
xslt Bug 33270: (follow-up) Handle records that fail attempt to ignore bad characters 2023-07-18 12:46:58 -03:00