From 09b8bca6d7b604b959e34148bf8927aa1a0775fd Mon Sep 17 00:00:00 2001 From: Jacob O'Mara Date: Wed, 21 Jan 2026 15:36:16 +0000 Subject: [PATCH] Bug 39658: Admin: Add linked account system preferences UI Add prefs for EnablePatronAccountLinking and related settings. Signed-off-by: Trevor Diamond --- .../admin/preferences/circulation.pref | 13 ++++++++++++ .../en/modules/admin/preferences/patrons.pref | 21 ++++++++++++------- 2 files changed, 27 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref index 29d80b0e20b..afc3c0a9f7e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref @@ -417,6 +417,12 @@ Circulation: - pref: NoIssuesChargeGuarantorsWithGuarantees class: integer - '[% local_currency %] in fines.' + - + - Prevent a patron from checking out if the combined fines across all linked accounts exceed + - pref: NoIssuesChargeLinkedAccounts + class: integer + - '[% local_currency %].' + - "
NOTE: Requires EnablePatronAccountLinking to be enabled." - - pref: ReturnBeforeExpiry choices: @@ -828,6 +834,13 @@ Circulation: 1: Allow 0: "Don't allow" - staff to override hold policies when placing holds. + - + - pref: AllowLinkedAccountHoldPickup + choices: + 1: Allow + 0: "Don't allow" + - "patrons to pick up holds placed by any of their linked accounts. The checkout will be automatically issued to the account that placed the hold." + - "
NOTE: Requires EnablePatronAccountLinking to be enabled." - - pref: AllowHoldsOnDamagedItems choices: diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref index d94bc0dd4bc..6097479d5c6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref @@ -414,13 +414,20 @@ Patrons: 0: "Don't allow" - staff to set the ability for a patron's charges to be viewed by linked patrons in the OPAC. - - - "Any patron of a patron type than can have a guarantor" - - pref: "ChildNeedsGuarantor" - choices: - 1: "requires" - 0: "does not require" - - a guarantor be set when adding the patron. - -

WARNING: Setting this preference to requires will cause errors for any pre-existing patrons that would now require a guarantor and do not have one. + - "Any patron of a patron type than can have a guarantor" + - pref: "ChildNeedsGuarantor" + choices: + 1: "requires" + 0: "does not require" + - a guarantor be set when adding the patron. + -

WARNING: Setting this preference to requires will cause errors for any pre-existing patrons that would now require a guarantor and do not have one. + - + - pref: EnablePatronAccountLinking + choices: + 1: Enable + 0: Disable + - "the patron account linking feature, which allows multiple patron accounts (e.g., for the same person at different libraries in a consortium) to be linked together." + - "
NOTE: Related preferences: NoIssuesChargeLinkedAccounts and AllowLinkedAccountHoldPickup." Patron restrictions: - - pref: RestrictPatronsWithFailedNotices -- 2.39.5