From f422f181028b4e4d04f11d3dcd4e54680d6573da 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 Signed-off-by: Katrin Fischer (cherry picked from commit cc6479735c804ed31217ed885db9f701b9cedbb4) Signed-off-by: Paul Derscheid --- 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 67075bb91d..37640b9c32 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 %]