From c2f14817478df07b813a3d4d8ff2c9be8515f09b Mon Sep 17 00:00:00 2001
From: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
Date: Wed, 9 Oct 2024 09:39:07 +0200
Subject: [PATCH] Bug 37528: (follow-up) Add help strings for blank
 borrowerrelationship

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
---
 .../prog/en/modules/admin/preferences/patrons.pref              | 2 +-
 .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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 4376132e57e..7f171f0da15 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
@@ -342,7 +342,7 @@ Patrons:
          - "Guarantors can be the following of those they guarantee:"
          - pref: borrowerRelationship
            class: multi
-         - (input multiple choices separated by |).
+         - (input multiple choices separated by |, leave a | at the end to allow to librarians to leave blank).
      -
          - "When adding a guarantee to a guarantor, whether it's from the guarantor's form or the guarantee's form, fill the following fields in the guarantee's member entry form from the guarantors record:"
          - pref: PrefillGuaranteeField
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
index 2706777bff4..bc3c12a64c7 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
@@ -218,7 +218,7 @@ legend.collapsed i.fa.fa-caret-down::before {
                                         <li id="ERROR_cannot_delete_guarantor">Cannot delete guarantor(s). A child patron needs a guarantor.</li>
                                     [% END %]
                                     [% IF ( ERROR_invalid_relationship ) %]
-                                        <li id="ERROR_invalid_relationship">Guarantor relationship is invalid.</li>
+                                        <li id="ERROR_invalid_relationship">Administrators do not allow to leave guarantor relationship blank</li>
                                     [% END %]
                                 </ul>
                             </div>
-- 
2.47.0