From eaf201af1cb4dc04c6a916bead95ae1e73423912 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 9 Feb 2021 12:26:50 -0300 Subject: [PATCH] Bug 27071: (follow-up) Provide a more meaningful error message Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index dc85eff5686..0d93f6e2a40 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -587,6 +587,8 @@ Patron already has hold for this item [% ELSIF itemloo.not_holdable == 'cannotBeTransferred' %] Cannot be transferred to pickup library + [% ELSIF itemloo.not_holdable == 'pickupNotInHoldGroup' %] + Only pickup locations within the same hold group are allowed [% ELSE %] [% itemloo.not_holdable | html %] [% END %] @@ -1012,7 +1014,8 @@ notReservable: _("Not holdable"), cannotReserveFromOtherBranches: _("Patron is from different library"), itemAlreadyOnHold: _("Patron already has hold for this item"), - cannotBeTransferred: _("Cannot be transferred to pickup library") + cannotBeTransferred: _("Cannot be transferred to pickup library"), + pickupNotInHoldGroup: _("Only pickup locations within the same hold group are allowed") } columns_settings_borrowers_table = [% TablesSettings.GetColumns( 'circ', 'circulation', 'table_borrowers', 'json' ) | $raw %]; -- 2.30.0