From 8298e60bc4b8ddcd168a45496a03d828ef94d208 Mon Sep 17 00:00:00 2001 From: Pier-Paolo Mammi Date: Mon, 6 Jul 2026 16:23:45 +0200 Subject: [PATCH] fix EFTL output for delibera tempate --- .../Proposta/elixPro - Template Delibera ONLYTABLE.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/collections/elixForms API v2/EFTL processing/CCT - Liquidazione Compensi/Proposta/elixPro - Template Delibera ONLYTABLE.yml b/collections/elixForms API v2/EFTL processing/CCT - Liquidazione Compensi/Proposta/elixPro - Template Delibera ONLYTABLE.yml index 6eda357..a824ec8 100644 --- a/collections/elixForms API v2/EFTL processing/CCT - Liquidazione Compensi/Proposta/elixPro - Template Delibera ONLYTABLE.yml +++ b/collections/elixForms API v2/EFTL processing/CCT - Liquidazione Compensi/Proposta/elixPro - Template Delibera ONLYTABLE.yml @@ -118,8 +118,12 @@ runtime: var response = res.getBody(); if (response.value.code === "ERROR") { - decodedDocument = "ERRORE EFTL!\n"; - decodedDocument += response.value.description.split("\n").slice(0, 3).join("\n"); + decodedDocument = "

ERRORE EFTL!

"; + decodedDocument += "" + response.value.description.split("\n").slice(0, 3).join("\n") + ""; + } + else if (response.value.processedDocument === "") { + decodedDocument = "

EMPTY OUTPUT!

"; + decodedDocument += "" + response.value.description.split("\n").slice(0, 3).join("\n") + ""; } else { decodedDocument = atob(response.value.processedDocument);