diff --git a/collections/elixForms API v2/EFTL processing/CCT - Liquidazione Compensi/Codice fiscale ammesso.yml b/collections/elixForms API v2/EFTL processing/CCT - Liquidazione Compensi/Codice fiscale ammesso.yml index 6f5de71..d9cfa44 100644 --- a/collections/elixForms API v2/EFTL processing/CCT - Liquidazione Compensi/Codice fiscale ammesso.yml +++ b/collections/elixForms API v2/EFTL processing/CCT - Liquidazione Compensi/Codice fiscale ammesso.yml @@ -12,7 +12,7 @@ http: - name: x-api-key value: "{{elixFormsWsAuthenticationToken}}" - name: x-ef-request-id - value: "22224" + value: "24218" body: type: json data: |- @@ -20,6 +20,7 @@ http: "userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script "userContext": { "lang": "IT", + "crlf": "\r\n", "codiciFiscaliAmmessi": ";MMMPPL74T17E463A;;" } } @@ -33,13 +34,13 @@ runtime: // Copy-pasta your EFTL document below inside the template literals (`) prepareEftlDocument(String.raw` [EFTL][HEADER name="trimDocument" value="true" type="boolean" /] - [VAR name="isRichiedenteInRS" type="string"][% isRichiedenteInRS = "Utente non ammesso alla compilazione perché non RS del contratto!"; %][/VAR] + [VAR name="isRichiedenteInRS" type="string"][% isRichiedenteInRS = "Utente non ammesso alla compilazione perché non risulta fra i Responsabili Scientifici del contratto!"; %][/VAR] [VAR name="responsabiliScientifici" type="string"][TAG]GETVALUEBYTAG,CONTRATTO_RESPONSABILI,REQUEST,IUQOID[/TAG][/VAR] [VAR name="codiceFiscaleUtente" type="string"][TAG]GETVALUEBYTAG,RICHIEDENTE_CODFIS,REQUEST,IUQOID[/TAG][/VAR] [VAR name="codiceFiscaleUtenteDebug" type="string"][TAG]GETVALUEBYTAG,RICHIEDENTE_CODFIS,REQUEST,IUQOID[/TAG][/VAR] - [% codiceFiscaleUtente = ", CF: " + codiceFiscaleUtente + " "; %] + [% codiceFiscaleUtente = ", CF: " + codiceFiscaleUtente + ","; %] [IF] [CONDITION][CONTAINS varname="responsabiliScientifici"][VALUE_OF varname="codiceFiscaleUtente" /][/CONTAINS][/CONDITION] @@ -50,6 +51,10 @@ runtime: [/ELSE IF] [/IF] + [%= responsabiliScientifici %] + [%= crlf %] + [%= codiceFiscaleUtente %] + [%= crlf %] [%= isRichiedenteInRS %] [/EFTL] `);