From 421ae347618cc305f17ff01314e8916e9726e7bc Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Date: Fri, 13 Dec 2019 17:50:59 +0100
Subject: [PATCH] Bug 24241: (bug 23049 follow-up) Add description for
 manage_accounts

Test plan:
Edit permissions for a patron
Unfold "Manage Koha system settings (Administration panel)"
=> Without this patch a checkbox appears without description
=> With this patch you see the description for manage_accounts
---
 koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc
index 606306caed..aa5a88aa18 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc
@@ -104,6 +104,11 @@
             Mark checkout notes as seen/not seen
         </span>
         <span class="permissioncode">([% name | html %])</span>
+    [%- CASE 'manage_accounts' -%]
+        <span class="sub_permission manage_accounts_subpermission">
+            Manage Account Debit and Credit Types
+        </span>
+        <span class="permissioncode">([% name | html %])</span>
     [%- CASE 'manage_circ_rules' -%]
         <span class="sub_permission manage_circ_rules_subpermission">
             Manage circulation rules
-- 
2.11.0