From 0f37ed78e4e6bf85329e5dc49b7d3ea20ba60bd0 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 3 Dec 2024 12:43:35 +0000 Subject: [PATCH] Bug 37993: (QA follow-up) Add a hint/warning when no EANs are defined Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index 67075bb91d0..37640b9c329 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -111,7 +111,9 @@ [% IF Koha.Preference('EDIFACT') && ediaccount %]
- [% IF eans.size == 1 %] + [% UNLESS eans.size %] + Create EDIFACT order + [% ELSIF eans.size == 1 %] Create EDIFACT order [% ELSE %] -- 2.47.1