From 9df266bd7ff82af8b44fa1a6b8e53da5e8c53901 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 10 Oct 2024 17:12:26 +0100 Subject: [PATCH] Bug 10190: Display value of OverdueNoticeFrom in note --- .../prog/en/modules/admin/circulation_triggers.tt | 1 + .../Admin/CirculationTriggers/CirculationTriggersList.vue | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/circulation_triggers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/circulation_triggers.tt index 9162f0c769d..2f82dda7de7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/circulation_triggers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/circulation_triggers.tt @@ -34,6 +34,7 @@ const letters = [% To.json(letters) | $raw %]; const default_view = "[%- IF Koha.Preference('DefaultToLoggedInLibraryOverdueTriggers') -%][% Branches.GetLoggedInBranchcode %][%- ELSE -%]*[%- END -%]"; + const from_branch = "[% Koha.Preference('OverdueNoticeFrom') %]"; diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Admin/CirculationTriggers/CirculationTriggersList.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Admin/CirculationTriggers/CirculationTriggersList.vue index 6e91e7a514b..7a295665b33 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Admin/CirculationTriggers/CirculationTriggersList.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/Admin/CirculationTriggers/CirculationTriggersList.vue @@ -38,6 +38,10 @@ types +

+ The system is currently set to match based on the + {{ from_branch }}. +

@@ -132,6 +136,7 @@ export default { return { splitCircRulesByTriggerNumber, letters, + from_branch, } }, data() { -- 2.47.0