From 165b952b9da5ceb924d879abede9595d16f009b8 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 Signed-off-by: David Nind --- 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 dc85eff568..0d93f6e2a4 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.11.0