From 835dcca693ec77b3f4128af8de5d64531cd9950e Mon Sep 17 00:00:00 2001
From: Andrew Fuerste Henry <andrewfh@dubcolib.org>
Date: Thu, 4 Apr 2024 21:28:11 +0000
Subject: [PATCH] Bug 36510: Add CircControl and HomeOrHoldingBranch settings
 to smart-rules

To test:
1 - apply patch
2 - restart all
3 - load circ & fines rules, confirm syspref values show in the blue box of rules explanation
4 - change sysprefs and confirm values update on circ rules page

Signed-off-by: Michelle Spinney <mspinney@clamsnet.org>
---
 koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt
index 1109b0e99c..6e792e0cc0 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt
@@ -70,6 +70,7 @@
                     current checkouts allowed will be limited to either the maximum for the parent (counting sibling types)
                     or the specific rule's type, whichever is less.</p>
                     <p>To modify a rule, create a new one with the same patron category and item type.</p>
+                    <p>The circulation and fine rules are applied based on the CircControl system preference which is set to <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=CircControl">[% Koha.Preference('CircControl') | html %]</a> and the HomeOrHoldingBranch system preference which is set to <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=HomeOrHoldingBranch">[% Koha.Preference('HomeOrHoldingBranch') | html %]</a>.</p>
                 </div>
 
                 <div class="page-section">
-- 
2.30.2