From b1c1d6736ffe5259377265a6970c557614694cdb Mon Sep 17 00:00:00 2001 From: David Nind Date: Mon, 26 Aug 2024 11:18:43 +0000 Subject: [PATCH] Bug 14250: (follow-up) Update messages Update the text for the reasons the patron cannot be discharged. Signed-off-by: Sukhmandeep Benipal --- .../prog/en/modules/members/discharge.tt | 8 ++++---- .../bootstrap/en/modules/opac-discharge.tt | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt index 4055737f31..7a63daa7a8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt @@ -53,19 +53,19 @@ [% END %] [% UNLESS can_be_discharged %] -

Cannot edit discharge for following reasons:

+

A discharge cannot be generated for this patron because:

[% ELSE %] [% IF patron.holds.count %] -

Patron has holds. They will be cancelled if the discharge is generated.

+

The patron has holds. The holds will be cancelled if the discharge is generated.

[% END %]
diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt index cc97779c62..3a3f381218 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt @@ -45,16 +45,16 @@ [% ELSIF pending %]

Your discharge will be available on this page within a few days.

[% ELSIF failure %] -

You cannot be discharged, you have checked out items. Please return items before asking for a discharge.

+

You cannot be discharged because you have checked out items. Please return your checked out items before asking for a discharge.

    [% IF has_debt %] -
  • You have unpaid fines. Please pay your fines before reapplying.
  • +
  • You have unpaid charges. Please pay your charges before reapplying.
  • [% END %] [% IF has_issues %] -
  • You have checked out items. Please return them before reapplying.
  • +
  • You have checked out items. Please return your checked out items before reapplying.
  • [% END %] [% IF !has_issue and !has_debt %] -
  • Patron cannot be discharged for an unknown reason, please contact a librarian for more information
  • +
  • You cannot be discharged for an unknown reason. Please contact library staff for more information.
  • [% END %]
[% ELSIF not messages %] @@ -62,19 +62,19 @@

This document certifies that you have returned all borrowed items. It is sometimes asked during a file transfer from a school to another. The discharge is sent by us to your school. You will also find it available on your reader account.

Warning: This request is only valid if you are in good standing with the library. Once the application is made, you can not borrow library materials.

[% UNLESS can_be_discharged %] -
You cannot be discharged for following reasons: +
You cannot be discharged because:
    [% IF discharge_problems.checkouts %]
  • You have [% discharge_problems.checkouts | html %] item(s) checked out. - Please return them before reapplying. + Please return your checked out items before reapplying.
  • [% END %] [% IF discharge_problems.debt %]
  • - They have unpaid fines totaling [% discharge_problems.debt | $Price %]. - Please pay your fines before reapplying. + You have unpaid charges of [% discharge_problems.debt | $Price %]. + Please pay your charges before reapplying.
  • [% END %]
-- 2.34.1