From befb7f9f425cff38c459c19e2230213b049053f4 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 8 Sep 2023 20:00:40 +0100 Subject: [PATCH] Bug 32984: (QA follow-up) Update to respect EDIFACT preference Since the first submission of this patch we have introduced a system preference to enable/disable edifact in it's entirety. This patch adds the check for this preference. Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 1674a2e657..fe07a4345c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -860,7 +860,7 @@ [% order.invoice.invoicenumber | html %] [% END %] - [% IF CAN_user_acquisition_edi_manage && order.invoice.message_id %] + [% IF ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage && order.invoice.message_id ) %] (EDI message) [% END %] [% END %] -- 2.39.5