From 49b3323dd97cf1f5dd5796d89e3789b17e7b0d5c Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 19 Dec 2024 17:37:31 +0000 Subject: [PATCH] Bug 38689: Display errors in a modal This patch adds a `(with errors)` link next to the status of any edifact messages that produced errors on processing. The link will popup a modal containing the error details recorded for that message. Signed-off-by: Kyle M Hall --- api/v1/swagger/definitions/edifact_file.yaml | 4 +- .../prog/en/modules/acqui/edifactmsgs.tt | 88 +++++++++++++++---- 2 files changed, 74 insertions(+), 18 deletions(-) diff --git a/api/v1/swagger/definitions/edifact_file.yaml b/api/v1/swagger/definitions/edifact_file.yaml index 4602ba28b68..46ff9c8f4f9 100644 --- a/api/v1/swagger/definitions/edifact_file.yaml +++ b/api/v1/swagger/definitions/edifact_file.yaml @@ -55,4 +55,6 @@ properties: - string - "null" description: EDIFACT file name -additionalProperties: false + errors: + type: array +additionalProperties: false \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt index 142f51c8420..b7fe904f912 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt @@ -34,26 +34,42 @@

EDIFACT messages

+
+ - -