Merge branch 'main' into feature/elixforms-ui-automation
This commit is contained in:
@@ -2,8 +2,16 @@ opencollection: 1.0.0
|
||||
|
||||
info:
|
||||
name: Gov.it OpenData
|
||||
config:
|
||||
proxy:
|
||||
inherit: true
|
||||
config:
|
||||
protocol: http
|
||||
hostname: ""
|
||||
port: ""
|
||||
auth:
|
||||
username: ""
|
||||
password: ""
|
||||
bypassProxy: ""
|
||||
bundled: false
|
||||
extensions:
|
||||
ignore:
|
||||
- node_modules
|
||||
- .git
|
||||
extensions: {}
|
||||
|
||||
@@ -2,8 +2,16 @@ opencollection: 1.0.0
|
||||
|
||||
info:
|
||||
name: Power Automate
|
||||
config:
|
||||
proxy:
|
||||
inherit: true
|
||||
config:
|
||||
protocol: http
|
||||
hostname: ""
|
||||
port: ""
|
||||
auth:
|
||||
username: ""
|
||||
password: ""
|
||||
bypassProxy: ""
|
||||
bundled: false
|
||||
extensions:
|
||||
ignore:
|
||||
- node_modules
|
||||
- .git
|
||||
extensions: {}
|
||||
|
||||
@@ -2,8 +2,16 @@ opencollection: 1.0.0
|
||||
|
||||
info:
|
||||
name: SharePoint API
|
||||
config:
|
||||
proxy:
|
||||
inherit: true
|
||||
config:
|
||||
protocol: http
|
||||
hostname: ""
|
||||
port: ""
|
||||
auth:
|
||||
username: ""
|
||||
password: ""
|
||||
bypassProxy: ""
|
||||
bundled: false
|
||||
extensions:
|
||||
ignore:
|
||||
- node_modules
|
||||
- .git
|
||||
extensions: {}
|
||||
|
||||
+2
-1
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: Proposta CCT determina sperimentazioni cliniche NO EFTL
|
||||
type: http
|
||||
seq: 3
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: POST
|
||||
@@ -119,6 +119,7 @@ settings:
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
|
||||
examples:
|
||||
- name: Sperimentazioni cliniche NO spese generali NO ulteriore ritenuta
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: NO EFTL
|
||||
type: folder
|
||||
seq: 4
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
+44
-8
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: Proposta CCT determina contratti conto terzi
|
||||
type: http
|
||||
seq: 3
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: POST
|
||||
@@ -12,18 +12,14 @@ http:
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "9717"
|
||||
value: "37031"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"tipologiePunto1": "CRCT_RA;CRCT_RAS;CRCT_RB",
|
||||
"tipologiePunto2": "SERV_CON",
|
||||
"tipologiePunto3": "FORM_COM",
|
||||
"tipologiePunto4": ""
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
@@ -40,6 +36,21 @@ runtime:
|
||||
[VAR name="presenzaOneri" type="boolean"][TAG]SCHEMAID,341,COL0084,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="mostraRitenute" type="string"][TAG]SCHEMAID,341,COL0090,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ulterioreRitenuta2Max" type="string"][TAG]SCHEMAID,337,COL0057,IUQOID, , [/TAG][/VAR]
|
||||
|
||||
[VAR name="ritenutaEcoAmministrazione" type="number"][TAG]SCHEMAID,341,COL0027,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ritenutaEcoFondo" type="number"][TAG]SCHEMAID,341,COL0028,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ritenutaEcoWelfare" type="number"][TAG]SCHEMAID,341,COL0029,IUQOID, , [/TAG][/VAR]
|
||||
[% percentualeEcoAmministrazione = ritenutaEcoAmministrazione * 100; %]
|
||||
[% percentualeEcoFondo = ritenutaEcoFondo * 100; %]
|
||||
[% percentualeEcoWelfare = ritenutaEcoWelfare * 100; %]
|
||||
|
||||
[!--
|
||||
1. [FORMAT type="number" pattern="#,##0.##"][% percentualeEcoAmministrazione %][/FORMAT]%<br/>
|
||||
2. [FORMAT type="number" pattern="#,##0.##"][% percentualeEcoFondo %][/FORMAT]%<br/>
|
||||
3. [FORMAT type="number" pattern="#,##0.##"][% percentualeEcoWelfare %][/FORMAT]%<br/>
|
||||
4. [FORMAT type="number" pattern="#,##0.##"][% ulterioreRitenuta2Max %][/FORMAT]%<br/>
|
||||
--]
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
@@ -88,7 +99,7 @@ runtime:
|
||||
<ol>
|
||||
<li>di approvare la stipula del contratto tra [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] e l'Università degli Studi di Parma, nell'interesse del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG], avente ad oggetto [TAG]SCHEMAID,341,COL0005,IUQOID, , [/TAG] sotto la responsabilità scientifica di [TAG]SCHEMAID,341,COL0049,IUQOID, , [/TAG], con durata di mesi [TAG]SCHEMAID,341,COL0008,IUQOID, , [/TAG];</li>
|
||||
|
||||
<li>di autorizzare l'introito del corrispettivo pari ad euro [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG] che verrà erogato da [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0090,IUQOID, , [/TAG] != "N" %]--][% mostraRitenute != "N" %][/CONDITION][THEN], da assoggettare alle ritenute di cui all'art. 6, comma 1 del "Regolamento sulla disciplina delle attività di ricerca, consulenza e didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi" nella misura del 3% (euro [TAG]SCHEMAID,337,COL0014,IUQOID, , [/TAG]) per l'Amministrazione di Ateneo, del 4% (euro [TAG]SCHEMAID,337,COL0015,IUQOID, , [/TAG]) per il Fondo Comune di Ateneo e del 1% (euro [TAG]SCHEMAID,337,COL0016,IUQOID, , [/TAG]) per l'incremento dei fondi di cui agli artt. 119, comma 2, punto a) e 121, comma 2, punto a) del CCNL di comparto per l'attuazione dell'art. 110, comma 2 del medesimo contratto[IF][CONDITION][!--[% [TAG]SCHEMAID,337,COL0017,IUQOID, , [/TAG] != "" && [TAG]SCHEMAID,337,COL0017,IUQOID, , [/TAG] > 0 %]--][% ulterioreRitenuta2Max > 0 %][/CONDITION][THEN] e del [TAG]SCHEMAID,337,COL0057,IUQOID, , [/TAG]% (euro [TAG]SCHEMAID,337,COL0063,IUQOID, , [/TAG]) a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][/THEN][/IF][/THEN][/IF];</li>
|
||||
<li>di autorizzare l'introito del corrispettivo pari ad euro [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG] che verrà erogato da [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0090,IUQOID, , [/TAG] != "N" %]--][% mostraRitenute != "N" %][/CONDITION][THEN], da assoggettare alle ritenute di cui all'art. 6, comma 1 del "Regolamento sulla disciplina delle attività di ricerca, consulenza e didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi" nella misura del [FORMAT type="number" pattern="#,##0.##"][% percentualeEcoAmministrazione %][/FORMAT]% (euro [TAG]SCHEMAID,337,COL0014,IUQOID, , [/TAG]) per l'Amministrazione di Ateneo, del [FORMAT type="number" pattern="#,##0.##"][% percentualeEcoFondo %][/FORMAT]% (euro [TAG]SCHEMAID,337,COL0015,IUQOID, , [/TAG]) per il Fondo Comune di Ateneo e del [FORMAT type="number" pattern="#,##0.##"][% percentualeEcoWelfare %][/FORMAT]% (euro [TAG]SCHEMAID,337,COL0016,IUQOID, , [/TAG]) per l'incremento dei fondi di cui agli artt. 119, comma 2, punto a) e 121, comma 2, punto a) del CCNL di comparto per l'attuazione dell'art. 110, comma 2 del medesimo contratto[IF][CONDITION][!--[% [TAG]SCHEMAID,337,COL0017,IUQOID, , [/TAG] != "" && [TAG]SCHEMAID,337,COL0017,IUQOID, , [/TAG] > 0 %]--][% ulterioreRitenuta2Max > 0 %][/CONDITION][THEN] e del [FORMAT type="number" pattern="#,##0.##"][% ulterioreRitenuta2Max %][/FORMAT]% (euro [TAG]SCHEMAID,337,COL0063,IUQOID, , [/TAG]) a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][/THEN][/IF][/THEN][/IF];</li>
|
||||
|
||||
<li>di dare mandato al Direttore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG] per ogni adempimento relativo.</li>
|
||||
</ol>
|
||||
@@ -104,9 +115,34 @@ runtime:
|
||||
</html>
|
||||
[/EFTL]
|
||||
`);
|
||||
- type: after-response
|
||||
code: |-
|
||||
var status = res.status;
|
||||
|
||||
if (status !== 200) {
|
||||
console.log("ERRORE HTTP! Response status code: " + status);
|
||||
return;
|
||||
}
|
||||
|
||||
var decodedDocument = "";
|
||||
var response = res.getBody();
|
||||
|
||||
if (response.value.code === "ERROR") {
|
||||
decodedDocument = "ERRORE EFTL!\n";
|
||||
decodedDocument += response.value.description.split("\n").slice(0, 3).join("\n");
|
||||
}
|
||||
else {
|
||||
decodedDocument = atob(response.value.processedDocument);
|
||||
}
|
||||
|
||||
bru.visualize('html', {
|
||||
name: 'HTML',
|
||||
content: decodedDocument
|
||||
});
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
|
||||
+44
-9
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: Proposta CCT determina ex art 15
|
||||
type: http
|
||||
seq: 3
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: POST
|
||||
@@ -12,19 +12,14 @@ http:
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "9717"
|
||||
value: "36340"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"tipologiePunto1": "",
|
||||
"tipologiePunto2": "",
|
||||
"tipologiePunto3": "CCS_IST_RA;CCS_IST_RAS;CCS_IST_RB",
|
||||
"tipologiePunto4": "",
|
||||
"tipologiePunto5": "MTA;NDA"
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
@@ -42,6 +37,21 @@ runtime:
|
||||
[VAR name="presenzaOneri" type="boolean"][TAG]SCHEMAID,341,COL0084,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="mostraRitenute" type="string"][TAG]SCHEMAID,341,COL0090,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ulterioreRitenuta2Max" type="string"][TAG]SCHEMAID,337,COL0067,IUQOID, , [/TAG][/VAR]
|
||||
|
||||
[VAR name="ritenutaNonEcoAmministrazione" type="number"][TAG]SCHEMAID,341,COL0074,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ritenutaNonEcoFondo" type="number"][TAG]SCHEMAID,341,COL0075,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ritenutaNonEcoWelfare" type="number"][TAG]SCHEMAID,341,COL0076,IUQOID, , [/TAG][/VAR]
|
||||
[% percentualeNonEcoAmministrazione = ritenutaNonEcoAmministrazione * 100; %]
|
||||
[% percentualeNonEcoFondo = ritenutaNonEcoFondo * 100; %]
|
||||
[% percentualeNonEcoWelfare = ritenutaNonEcoWelfare * 100; %]
|
||||
|
||||
[!--
|
||||
1. [FORMAT type="number" pattern="#,##0.##"][% percentualeNonEcoAmministrazione %][/FORMAT]%<br/>
|
||||
2. [FORMAT type="number" pattern="#,##0.##"][% percentualeNonEcoFondo %][/FORMAT]%<br/>
|
||||
3. [FORMAT type="number" pattern="#,##0.##"][% percentualeNonEcoWelfare %][/FORMAT]%<br/>
|
||||
4. [FORMAT type="number" pattern="#,##0.##"][% ulterioreRitenuta2Max %][/FORMAT]%<br/>
|
||||
--]
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
@@ -101,7 +111,7 @@ runtime:
|
||||
<li>richiamate le premesse, parti integranti del presente dispositivo, di approvare la stipula dell'Accordo tra [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] e l'Università degli Studi di Parma, nell'interesse del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG], avente ad oggetto [TAG]SCHEMAID,341,COL0005,IUQOID, , [/TAG] sotto la responsabilità scientifica di [TAG]SCHEMAID,341,COL0049,IUQOID, , [/TAG], con durata di mesi [TAG]SCHEMAID,341,COL0008,IUQOID, , [/TAG][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0084,IUQOID, , [/TAG] == false %]--][% presenzaOneri == false %][/CONDITION][THEN], senza oneri a carico del budget dell'Amministrazione Centrale[/THEN][/IF];</li>
|
||||
|
||||
[IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG] > 0 %]--][% corrispettivo > 0 %][/CONDITION][THEN]
|
||||
<li>di autorizzare l'introito del contributo di euro [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG] da parte di [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0090,IUQOID, , [/TAG] != "N" %]--][% mostraRitenute != "N" %][/CONDITION][THEN][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0051,IUQOID, , [/TAG] > 0 %]--][% speseGenerali > 0 %][/CONDITION][THEN], da assoggettare alle ritenute secondo le modalità previste dall'art. 6, comma 2 del "Regolamento sulla disciplina delle attività di ricerca, consulenza e didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi" nella misura del 6% (euro [TAG]SCHEMAID,337,COL0049,IUQOID, , [/TAG]) per l'Amministrazione di Ateneo, del 8% (euro [TAG]SCHEMAID,337,COL0050,IUQOID, , [/TAG]) per il Fondo Comune di Ateneo e del 2% (euro [TAG]SCHEMAID,337,COL0051,IUQOID, , [/TAG]) per l'incremento dei fondi di cui agli artt. 119, comma 2, punto a) e 121, comma 2, punto a) del CCNL di comparto per l'attuazione dell'art. 110, comma 2 del medesimo contratto[/THEN][/IF][IF][CONDITION][!--[% [TAG]SCHEMAID,337,COL0064,IUQOID, , [/TAG] != "" && [TAG]SCHEMAID,337,COL0064,IUQOID, , [/TAG] > 0 %]--][% ulterioreRitenuta2Max > 0 %][/CONDITION][THEN], con una ritenuta ulteriore del [TAG]SCHEMAID,337,COL0067,IUQOID, , [/TAG]% (euro [TAG]SCHEMAID,337,COL0068,IUQOID, , [/TAG]) a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][/THEN][/IF][/THEN][/IF];</li>
|
||||
<li>di autorizzare l'introito del contributo di euro [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG] da parte di [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0090,IUQOID, , [/TAG] != "N" %]--][% mostraRitenute != "N" %][/CONDITION][THEN][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0051,IUQOID, , [/TAG] > 0 %]--][% speseGenerali > 0 %][/CONDITION][THEN], da assoggettare alle ritenute secondo le modalità previste dall'art. 6, comma 2 del "Regolamento sulla disciplina delle attività di ricerca, consulenza e didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi" nella misura del [FORMAT type="number" pattern="#,##0.##"][% percentualeNonEcoAmministrazione %][/FORMAT]% (euro [TAG]SCHEMAID,337,COL0049,IUQOID, , [/TAG]) per l'Amministrazione di Ateneo, del [FORMAT type="number" pattern="#,##0.##"][% percentualeNonEcoFondo %][/FORMAT]% (euro [TAG]SCHEMAID,337,COL0050,IUQOID, , [/TAG]) per il Fondo Comune di Ateneo e del [FORMAT type="number" pattern="#,##0.##"][% percentualeNonEcoWelfare %][/FORMAT]% (euro [TAG]SCHEMAID,337,COL0051,IUQOID, , [/TAG]) per l'incremento dei fondi di cui agli artt. 119, comma 2, punto a) e 121, comma 2, punto a) del CCNL di comparto per l'attuazione dell'art. 110, comma 2 del medesimo contratto[/THEN][/IF][IF][CONDITION][!--[% [TAG]SCHEMAID,337,COL0064,IUQOID, , [/TAG] != "" && [TAG]SCHEMAID,337,COL0064,IUQOID, , [/TAG] > 0 %]--][% ulterioreRitenuta2Max > 0 %][/CONDITION][THEN], con una ritenuta ulteriore del [FORMAT type="number" pattern="#,##0.##"][% ulterioreRitenuta2Max %][/FORMAT]% (euro [TAG]SCHEMAID,337,COL0068,IUQOID, , [/TAG]) a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][/THEN][/IF][/THEN][/IF];</li>
|
||||
[/THEN][/IF]
|
||||
|
||||
<li>di conferire mandato al Direttore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG] per l'adempimento di ogni attività relativa.</li>
|
||||
@@ -118,9 +128,34 @@ runtime:
|
||||
</html>
|
||||
[/EFTL]
|
||||
`);
|
||||
- type: after-response
|
||||
code: |-
|
||||
var status = res.status;
|
||||
|
||||
if (status !== 200) {
|
||||
console.log("ERRORE HTTP! Response status code: " + status);
|
||||
return;
|
||||
}
|
||||
|
||||
var decodedDocument = "";
|
||||
var response = res.getBody();
|
||||
|
||||
if (response.value.code === "ERROR") {
|
||||
decodedDocument = "ERRORE EFTL!\n";
|
||||
decodedDocument += response.value.description.split("\n").slice(0, 3).join("\n");
|
||||
}
|
||||
else {
|
||||
decodedDocument = atob(response.value.processedDocument);
|
||||
}
|
||||
|
||||
bru.visualize('html', {
|
||||
name: 'HTML',
|
||||
content: decodedDocument
|
||||
});
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
|
||||
+43
-7
@@ -12,18 +12,14 @@ http:
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "9717"
|
||||
value: "36340"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"tipologiePunto1": "CRCT_RA;CRCT_RAS;CRCT_RB",
|
||||
"tipologiePunto2": "SERV_CON",
|
||||
"tipologiePunto3": "FORM_COM",
|
||||
"tipologiePunto4": ""
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
@@ -41,6 +37,21 @@ runtime:
|
||||
[VAR name="presenzaOneri" type="boolean"][TAG]SCHEMAID,341,COL0084,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="mostraRitenute" type="string"][TAG]SCHEMAID,341,COL0090,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ulterioreRitenuta2Max" type="string"][TAG]SCHEMAID,337,COL0067,IUQOID, , [/TAG][/VAR]
|
||||
|
||||
[VAR name="ritenutaNonEcoAmministrazione" type="number"][TAG]SCHEMAID,341,COL0074,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ritenutaNonEcoFondo" type="number"][TAG]SCHEMAID,341,COL0075,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ritenutaNonEcoWelfare" type="number"][TAG]SCHEMAID,341,COL0076,IUQOID, , [/TAG][/VAR]
|
||||
[% percentualeNonEcoAmministrazione = ritenutaNonEcoAmministrazione * 100; %]
|
||||
[% percentualeNonEcoFondo = ritenutaNonEcoFondo * 100; %]
|
||||
[% percentualeNonEcoWelfare = ritenutaNonEcoWelfare * 100; %]
|
||||
|
||||
[!--
|
||||
1. [FORMAT type="number" pattern="#,##0.##"][% percentualeNonEcoAmministrazione %][/FORMAT]%<br/>
|
||||
2. [FORMAT type="number" pattern="#,##0.##"][% percentualeNonEcoFondo %][/FORMAT]%<br/>
|
||||
3. [FORMAT type="number" pattern="#,##0.##"][% percentualeNonEcoWelfare %][/FORMAT]%<br/>
|
||||
4. [FORMAT type="number" pattern="#,##0.##"][% ulterioreRitenuta2Max %][/FORMAT]%<br/>
|
||||
--]
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
@@ -96,7 +107,7 @@ runtime:
|
||||
<li>richiamate le premesse, parti integranti del presente dispositivo, di approvare la stipula del contratto tra [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] e l'Università degli Studi di Parma, nell'interesse del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG], avente ad oggetto la conduzione della sperimentazione clinica dal titolo [TAG]SCHEMAID,341,COL0005,IUQOID, , [/TAG] sotto la responsabilità scientifica di [TAG]SCHEMAID,341,COL0049,IUQOID, , [/TAG], con decorrenza dalla data di sottoscrizione e durata fino a mesi [TAG]SCHEMAID,341,COL0008,IUQOID, , [/TAG][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0084,IUQOID, , [/TAG] == false %]--][% presenzaOneri == false %][/CONDITION][THEN], senza oneri a carico del budget dell'Amministrazione Centrale[/THEN][/IF];</li>
|
||||
|
||||
[IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG] > 0 %]--][% corrispettivo > 0 %][/CONDITION][THEN]
|
||||
<li>di autorizzare l'introito del contributo di euro [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG] da parte di [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0090,IUQOID, , [/TAG] != "N" %]--][% mostraRitenute != "N" %][/CONDITION][THEN][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0051,IUQOID, , [/TAG] > 0 %]--][% speseGenerali > 0 %][/CONDITION][THEN], da assoggettare alle ritenute secondo le modalità previste dall'art. 6, comma 2 del "Regolamento sulla disciplina delle attività di ricerca, consulenza e didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi" nella misura del 6% (euro [TAG]SCHEMAID,337,COL0049,IUQOID, , [/TAG]) per l'Amministrazione di Ateneo, del 8% (euro [TAG]SCHEMAID,337,COL0050,IUQOID, , [/TAG]) per il Fondo Comune di Ateneo e del 2% (euro [TAG]SCHEMAID,337,COL0051,IUQOID, , [/TAG]) per l'incremento dei fondi di cui agli artt. 119, comma 2, punto a) e 121, comma 2, punto a) del CCNL di comparto per l'attuazione dell'art. 110, comma 2 del medesimo contratto, calcolate sulle sole quote di overheads[/THEN][/IF][IF][CONDITION][!--[% [TAG]SCHEMAID,337,COL0064,IUQOID, , [/TAG] > 0 && [TAG]SCHEMAID,337,COL0064,IUQOID, , [/TAG] != "" %]--][% ulterioreRitenuta2Max > 0 %][/CONDITION][THEN], con una ritenuta ulteriore del [TAG]SCHEMAID,337,COL0067,IUQOID, , [/TAG]% (euro [TAG]SCHEMAID,337,COL0068,IUQOID, , [/TAG]) a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][/THEN][/IF][/THEN][/IF];</li>
|
||||
<li>di autorizzare l'introito del contributo di euro [TAG]SCHEMAID,341,COL0094,IUQOID, , [/TAG] da parte di [TAG]SCHEMAID,341,COL0086,IUQOID, , [/TAG] a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0090,IUQOID, , [/TAG] != "N" %]--][% mostraRitenute != "N" %][/CONDITION][THEN][IF][CONDITION][!--[% [TAG]SCHEMAID,341,COL0051,IUQOID, , [/TAG] > 0 %]--][% speseGenerali > 0 %][/CONDITION][THEN], da assoggettare alle ritenute secondo le modalità previste dall'art. 6, comma 2 del "Regolamento sulla disciplina delle attività di ricerca, consulenza e didattica e alta formazione eseguite dall'Università degli Studi di Parma a fronte di contratti o accordi con soggetti terzi" nella misura del [FORMAT type="number" pattern="#,##0.##"][% percentualeNonEcoAmministrazione %][/FORMAT]% (euro [TAG]SCHEMAID,337,COL0049,IUQOID, , [/TAG]) per l'Amministrazione di Ateneo, del [FORMAT type="number" pattern="#,##0.##"][% percentualeNonEcoFondo %][/FORMAT]% (euro [TAG]SCHEMAID,337,COL0050,IUQOID, , [/TAG]) per il Fondo Comune di Ateneo e del [FORMAT type="number" pattern="#,##0.##"][% percentualeNonEcoWelfare %][/FORMAT]% (euro [TAG]SCHEMAID,337,COL0051,IUQOID, , [/TAG]) per l'incremento dei fondi di cui agli artt. 119, comma 2, punto a) e 121, comma 2, punto a) del CCNL di comparto per l'attuazione dell'art. 110, comma 2 del medesimo contratto, calcolate sulle sole quote di overheads[/THEN][/IF][IF][CONDITION][!--[% [TAG]SCHEMAID,337,COL0064,IUQOID, , [/TAG] > 0 && [TAG]SCHEMAID,337,COL0064,IUQOID, , [/TAG] != "" %]--][% ulterioreRitenuta2Max > 0 %][/CONDITION][THEN], con una ritenuta ulteriore del [FORMAT type="number" pattern="#,##0.##"][% ulterioreRitenuta2Max %][/FORMAT]% (euro [TAG]SCHEMAID,337,COL0068,IUQOID, , [/TAG]) a favore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG][/THEN][/IF][/THEN][/IF];</li>
|
||||
[/THEN][/IF]
|
||||
|
||||
<li>di dare mandato al Direttore del [TAG]SCHEMAID,341,COL0006,IUQOID, , [/TAG] per ogni ulteriore adempimento relativo.</li>
|
||||
@@ -113,9 +124,34 @@ runtime:
|
||||
</html>
|
||||
[/EFTL]
|
||||
`);
|
||||
- type: after-response
|
||||
code: |-
|
||||
var status = res.status;
|
||||
|
||||
if (status !== 200) {
|
||||
console.log("ERRORE HTTP! Response status code: " + status);
|
||||
return;
|
||||
}
|
||||
|
||||
var decodedDocument = "";
|
||||
var response = res.getBody();
|
||||
|
||||
if (response.value.code === "ERROR") {
|
||||
decodedDocument = "ERRORE EFTL!\n";
|
||||
decodedDocument += response.value.description.split("\n").slice(0, 3).join("\n");
|
||||
}
|
||||
else {
|
||||
decodedDocument = atob(response.value.processedDocument);
|
||||
}
|
||||
|
||||
bru.visualize('html', {
|
||||
name: 'HTML',
|
||||
content: decodedDocument
|
||||
});
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
info:
|
||||
name: Azzeratore ritenute per contratto NON economico
|
||||
type: http
|
||||
seq: 9
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/eftl/process/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "17144"
|
||||
disabled: true
|
||||
- name: x-ef-request-id
|
||||
value: "25889"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
const { prepareEftlDocument } = require("./elixFormsJs.js")
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
prepareEftlDocument(String.raw`
|
||||
[EFTL]
|
||||
[VAR name="azzeratoreNonEconomico" type="number"][% azzeratoreNonEconomico = 1; %][/VAR]
|
||||
[VAR name="isEconomico" type="boolean"][TAG]GETVALUEBYTAG,CONTRATTO_ECONOMICO,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="esenzioneRitenute" type="string"][TAG]SCHEMAID,341,COL0089,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="mostraRitenute" type="boolean"][IS_EMPTY varname="esenzioneRitenute" /][/VAR]
|
||||
|
||||
|
||||
[IF]
|
||||
[CONDITION][% isEconomico == true || mostraRitenute == false %][/CONDITION]
|
||||
[THEN][% azzeratoreNonEconomico = 0; %][/THEN]
|
||||
[/IF]
|
||||
|
||||
[%= azzeratoreNonEconomico %]
|
||||
[/EFTL]
|
||||
`);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
info:
|
||||
name: Azzeratore ritenute per contratto economico
|
||||
type: http
|
||||
seq: 7
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/eftl/process/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "17144"
|
||||
disabled: true
|
||||
- name: x-ef-request-id
|
||||
value: "25889"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
const { prepareEftlDocument } = require("./elixFormsJs.js")
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
prepareEftlDocument(String.raw`
|
||||
[EFTL]
|
||||
[VAR name="azzeratoreEconomico" type="number"][% azzeratoreEconomico = 1; %][/VAR]
|
||||
[VAR name="isEconomico" type="boolean"][TAG]GETVALUEBYTAG,CONTRATTO_ECONOMICO,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="esenzioneRitenute" type="string"][TAG]SCHEMAID,341,COL0089,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="mostraRitenute" type="boolean"][IS_EMPTY varname="esenzioneRitenute" /][/VAR]
|
||||
|
||||
[IF]
|
||||
[CONDITION][% isEconomico == false || mostraRitenute == false %][/CONDITION]
|
||||
[THEN][% azzeratoreEconomico = 0; %][/THEN]
|
||||
[/IF]
|
||||
|
||||
[%= azzeratoreEconomico %]
|
||||
[/EFTL]
|
||||
`);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
+12
-5
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: Calcolo D.1.3 5% con virgole
|
||||
type: http
|
||||
seq: 3
|
||||
seq: 21
|
||||
|
||||
http:
|
||||
method: POST
|
||||
@@ -25,9 +25,7 @@ http:
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"crlf": "\r\n",
|
||||
"qualificheDocenti": ";Docente;Ricercatore;"
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
@@ -42,7 +40,15 @@ runtime:
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="D1_1" type="number"][TAG]GETVALUEBYTAG,PROPOSTA_CCT_CONTRATTO_D_1_1,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="D1_2" type="number"][TAG]GETVALUEBYTAG,PROPOSTA_CCT_CONTRATTO_D_1_2,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="A" type="number"][TAG]SCHEMAID,338,COL0001,IUQOID, , [/TAG][/VAR]
|
||||
|
||||
[VAR name="numberIterable" type="iterable"][SPLIT regex="\."][TAG]GETVALUEBYTAG,PROPOSTA_CCT_CONTRATTO_A,REQUEST,IUQOID[/TAG][/SPLIT][/VAR]
|
||||
[VAR name="first" type="number"][% first = 0; %][/VAR]
|
||||
[VAR name="second" type="number"][% second = 1; %][/VAR]
|
||||
[VAR name="numberIntegerPart" type="string"][VALUE_OF varname="numberIterable" index="first" /][/VAR]
|
||||
[VAR name="numberDecimalPart" type="string"][VALUE_OF varname="numberIterable" index="second" /][/VAR]
|
||||
[IF][CONDITION][IS_EMPTY varname="numberDecimalPart" /][/CONDITION][THEN][% numberDecimalPart = "00"; %][/THEN][/IF]
|
||||
[VAR name="A" type="number"][% A = numberIntegerPart + "," + numberDecimalPart; %][/VAR]
|
||||
|
||||
[VAR name="D1_3" type="number"][% D1_3 = D1_1 + D1_2 - (A * 0.20); %][/VAR]
|
||||
[VAR name="QuotaAteneo" type="number"][% QuotaAteneo = 0; %][/VAR]
|
||||
|
||||
@@ -60,3 +66,4 @@ settings:
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
|
||||
+15
-29
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: Calcolo D.1.3 con virgole
|
||||
type: http
|
||||
seq: 4
|
||||
seq: 20
|
||||
|
||||
http:
|
||||
method: POST
|
||||
@@ -31,9 +31,7 @@ http:
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"crlf": "\r\n",
|
||||
"qualificheDocenti": ";Docente;Ricercatore;"
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
@@ -46,39 +44,26 @@ runtime:
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
prepareEftlDocument(String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="ceiling" type="string"][TAG]GETVALUEBYTAG,CORRISPETTIVO_CEILING,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[!-- HACK per numeri corretti!!!1! --]
|
||||
[VAR name="ceilingIterable" type="iterable"][SPLIT regex="\."][TAG]GETVALUEBYTAG,CORRISPETTIVO_CEILING,REQUEST,IUQOID[/TAG][/SPLIT][/VAR]
|
||||
[VAR name="first" type="number"][% first = 0; %][/VAR]
|
||||
[VAR name="second" type="number"][% second = 1; %][/VAR]
|
||||
[VAR name="ceilingInteger" type="string"][VALUE_OF varname="ceilingIterable" index="first" /][/VAR]
|
||||
[VAR name="ceilingDecimal" type="string"][VALUE_OF varname="ceilingIterable" index="second" /][/VAR]
|
||||
[IF][CONDITION][IS_EMPTY varname="ceilingDecimal" /][/CONDITION][THEN][% ceilingDecimal = "00"; %][/THEN][/IF]
|
||||
[VAR name="ceilingNumber" type="number"][% ceilingNumber = ceilingInteger + "," + ceilingDecimal; %][/VAR]
|
||||
[VAR name="D1_1" type="number"][TAG]GETVALUEBYTAG,PROPOSTA_CCT_CONTRATTO_D_1_1,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="D1_2" type="number"][TAG]GETVALUEBYTAG,PROPOSTA_CCT_CONTRATTO_D_1_2,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="D1_3" type="number"][% D1_3 = 0; %][/VAR]
|
||||
|
||||
[%= ceilingNumber %]
|
||||
[%= " --- " %]
|
||||
[%= ceilingNumber * 0.20 %]
|
||||
[%= " --- " %]
|
||||
[%= ceiling %]
|
||||
[%= " --- " %]
|
||||
[%= ceilingInteger %]
|
||||
[%= " --- " %]
|
||||
[%= ceilingDecimal %]
|
||||
|
||||
[VAR name="numberIterable" type="iterable"][SPLIT regex="\."][TAG]SCHEMAID,341,COL0009,IUQOID, , [/TAG][/SPLIT][/VAR]
|
||||
[VAR name="numberIterable" type="iterable"][SPLIT regex="\."][TAG]GETVALUEBYTAG,PROPOSTA_CCT_CONTRATTO_A,REQUEST,IUQOID[/TAG][/SPLIT][/VAR]
|
||||
[VAR name="first" type="number"][% first = 0; %][/VAR]
|
||||
[VAR name="second" type="number"][% second = 1; %][/VAR]
|
||||
[VAR name="numberIntegerPart" type="string"][VALUE_OF varname="numberIterable" index="first" /][/VAR]
|
||||
[VAR name="numberDecimalPart" type="string"][VALUE_OF varname="numberIterable" index="second" /][/VAR]
|
||||
[IF][CONDITION][IS_EMPTY varname="numberDecimalPart" /][/CONDITION][THEN][% numberDecimalPart = "00"; %][/THEN][/IF]
|
||||
[VAR name="valueAsNumber" type="number"][% valueAsNumber = numberIntegerPart + "," + numberDecimalPart; %][/VAR]
|
||||
[VAR name="A" type="number"][% A = numberIntegerPart + "," + numberDecimalPart; %][/VAR]
|
||||
|
||||
[VAR name="fattoreRitenuta2max" type="number"][TAG]SCHEMAID,341,COL0030,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ritenuta2max" type="number"][% ritenuta2max = valueAsNumber * fattoreRitenuta2max; %][/VAR]
|
||||
[VAR name="ritenuta2maxMessage" type="string"][% ritenuta2maxMessage = "L'importo massimo (2%) dell'ulteriore ritenuta deliberata dalla struttura è: " + ritenuta2max + " €"; %][/VAR]
|
||||
[VAR name="calculatedValue" type="number"][% calculatedValue = D1_1 + D1_2 - (A * 0.20); %][/VAR]
|
||||
|
||||
[%= ritenuta2maxMessage %]
|
||||
[IF]
|
||||
[CONDITION][% calculatedValue > 0 %][/CONDITION]
|
||||
[THEN][% D1_3 = calculatedValue; %][/THEN]
|
||||
[/IF]
|
||||
|
||||
[FORMAT type="number" pattern="#,##0.00"][% D1_3 %][/FORMAT]
|
||||
[/EFTL]
|
||||
`);
|
||||
|
||||
@@ -87,3 +72,4 @@ settings:
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
|
||||
+5
-12
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: Messaggio ritenute massime
|
||||
name: Calcolo D2 con virgole
|
||||
type: http
|
||||
seq: 5
|
||||
seq: 22
|
||||
|
||||
http:
|
||||
method: POST
|
||||
@@ -19,21 +19,13 @@ http:
|
||||
disabled: true
|
||||
- name: x-ef-request-id
|
||||
value: "22748"
|
||||
disabled: true
|
||||
- name: x-ef-request-id
|
||||
value: "22705"
|
||||
disabled: true
|
||||
- name: x-ef-request-id
|
||||
value: "22754"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"crlf": "\r\n",
|
||||
"qualificheDocenti": ";Docente;Ricercatore;"
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
@@ -70,10 +62,11 @@ runtime:
|
||||
|
||||
[FORMAT type="number" pattern="#,##0.00"][% D2 %][/FORMAT]
|
||||
[/EFTL]
|
||||
`)
|
||||
`);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
+2
-1
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: Codice Contratto con caratteri strani
|
||||
type: http
|
||||
seq: 1
|
||||
seq: 23
|
||||
|
||||
http:
|
||||
method: POST
|
||||
@@ -117,3 +117,4 @@ settings:
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
|
||||
+3
-59
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: Contratto IS economico
|
||||
type: http
|
||||
seq: 2
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: POST
|
||||
@@ -19,64 +19,7 @@ http:
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"docs": [
|
||||
{
|
||||
"name": "doc1",
|
||||
"quantity": 3,
|
||||
"price": 123.3
|
||||
},
|
||||
{
|
||||
"name": "doc2",
|
||||
"quantity": 5,
|
||||
"price": 213.3
|
||||
},
|
||||
{
|
||||
"name": "doc3",
|
||||
"quantity": 10,
|
||||
"price": 321.3
|
||||
}
|
||||
],
|
||||
"docsAsEntities": [
|
||||
{
|
||||
"eftlEntityType": "com.anthesi.elixforms.api.eftl.model.mock.EftlDoc",
|
||||
"eftlEntity": {
|
||||
"name": "doc1",
|
||||
"quantity": 3,
|
||||
"price": 123.3
|
||||
}
|
||||
},
|
||||
{
|
||||
"eftlEntityType": "com.anthesi.elixforms.api.eftl.model.mock.EftlDoc",
|
||||
"eftlEntity": {
|
||||
"name": "doc2",
|
||||
"quantity": 5,
|
||||
"price": 213.3
|
||||
}
|
||||
},
|
||||
{
|
||||
"eftlEntityType": "com.anthesi.elixforms.api.eftl.model.mock.EftlDoc",
|
||||
"eftlEntity": {
|
||||
"name": "doc3",
|
||||
"quantity": 10,
|
||||
"price": 321.3
|
||||
}
|
||||
}
|
||||
],
|
||||
"singleEntity": {
|
||||
"eftlEntityType": "com.anthesi.elixforms.api.eftl.model.mock.EftlDoc",
|
||||
"eftlEntity": {
|
||||
"name": "doc1",
|
||||
"quantity": 3,
|
||||
"price": 123.3
|
||||
}
|
||||
},
|
||||
"simpleList": [
|
||||
"s1",
|
||||
"s2",
|
||||
"s3"
|
||||
],
|
||||
"docsSize": 3
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
@@ -109,3 +52,4 @@ settings:
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
info:
|
||||
name: Corrispettivo formattato
|
||||
type: http
|
||||
seq: 13
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/eftl/process/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "37031"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
const { prepareEftlDocument } = require("./elixFormsJs.js")
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
prepareEftlDocument(String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="numberIterable" type="iterable"][SPLIT regex="\."][TAG]SCHEMAID,341,COL0009,IUQOID, , [/TAG][/SPLIT][/VAR]
|
||||
[VAR name="first" type="number"][% first = 0; %][/VAR]
|
||||
[VAR name="second" type="number"][% second = 1; %][/VAR]
|
||||
[VAR name="numberIntegerPart" type="string"][VALUE_OF varname="numberIterable" index="first" /][/VAR]
|
||||
[VAR name="numberDecimalPart" type="string"][VALUE_OF varname="numberIterable" index="second" /][/VAR]
|
||||
[IF][CONDITION][IS_EMPTY varname="numberDecimalPart" /][/CONDITION][THEN][% numberDecimalPart = "00"; %][/THEN][/IF]
|
||||
[VAR name="valueAsNumber" type="number"][% valueAsNumber = numberIntegerPart + "," + numberDecimalPart; %][/VAR]
|
||||
|
||||
[FORMAT type="number" pattern="#,##0.00"][% valueAsNumber %][/FORMAT]
|
||||
[/EFTL]
|
||||
`);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
+3
-4
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: Elenco Contraenti CSV (nominativo)
|
||||
type: http
|
||||
seq: 8
|
||||
seq: 15
|
||||
|
||||
http:
|
||||
method: POST
|
||||
@@ -22,9 +22,7 @@ http:
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"crlf": "\r\n",
|
||||
"DEBUG": "S"
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
@@ -73,3 +71,4 @@ settings:
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
|
||||
+3
-4
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: Elenco RS CSV (cognome nome)
|
||||
type: http
|
||||
seq: 7
|
||||
seq: 14
|
||||
|
||||
http:
|
||||
method: POST
|
||||
@@ -19,9 +19,7 @@ http:
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"crlf": "\r\n",
|
||||
"DEBUG": "S"
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
@@ -70,3 +68,4 @@ settings:
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
|
||||
+4
-60
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: Elenco contraenti formattati
|
||||
type: http
|
||||
seq: 13
|
||||
seq: 12
|
||||
|
||||
http:
|
||||
method: POST
|
||||
@@ -19,64 +19,7 @@ http:
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"docs": [
|
||||
{
|
||||
"name": "doc1",
|
||||
"quantity": 3,
|
||||
"price": 123.3
|
||||
},
|
||||
{
|
||||
"name": "doc2",
|
||||
"quantity": 5,
|
||||
"price": 213.3
|
||||
},
|
||||
{
|
||||
"name": "doc3",
|
||||
"quantity": 10,
|
||||
"price": 321.3
|
||||
}
|
||||
],
|
||||
"docsAsEntities": [
|
||||
{
|
||||
"eftlEntityType": "com.anthesi.elixforms.api.eftl.model.mock.EftlDoc",
|
||||
"eftlEntity": {
|
||||
"name": "doc1",
|
||||
"quantity": 3,
|
||||
"price": 123.3
|
||||
}
|
||||
},
|
||||
{
|
||||
"eftlEntityType": "com.anthesi.elixforms.api.eftl.model.mock.EftlDoc",
|
||||
"eftlEntity": {
|
||||
"name": "doc2",
|
||||
"quantity": 5,
|
||||
"price": 213.3
|
||||
}
|
||||
},
|
||||
{
|
||||
"eftlEntityType": "com.anthesi.elixforms.api.eftl.model.mock.EftlDoc",
|
||||
"eftlEntity": {
|
||||
"name": "doc3",
|
||||
"quantity": 10,
|
||||
"price": 321.3
|
||||
}
|
||||
}
|
||||
],
|
||||
"singleEntity": {
|
||||
"eftlEntityType": "com.anthesi.elixforms.api.eftl.model.mock.EftlDoc",
|
||||
"eftlEntity": {
|
||||
"name": "doc1",
|
||||
"quantity": 3,
|
||||
"price": 123.3
|
||||
}
|
||||
},
|
||||
"simpleList": [
|
||||
"s1",
|
||||
"s2",
|
||||
"s3"
|
||||
],
|
||||
"docsSize": 3
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
@@ -118,7 +61,7 @@ runtime:
|
||||
[VAR name="currContraenteNome" type="string"][VALUE_OF varname="currContraenteSplit" index="idxNome" /][/VAR]
|
||||
[VAR name="currContraenteCfPIva" type="string"][VALUE_OF varname="currContraenteSplit" index="idxCfPIva" /][/VAR]
|
||||
[VAR name="currContraenteSede" type="string"][VALUE_OF varname="currContraenteSplit" index="idxSede" /][/VAR]
|
||||
[% elencoContraentiCompleto = elencoContraentiCompleto + ", " + currContraenteNome + " (CF/PIVA: " + currContraenteCfPIva + ") con sede legale in " + currContraenteSede; %]
|
||||
[% elencoContraentiCompleto = elencoContraentiCompleto + "; " + currContraenteNome + " (CF/PIVA: " + currContraenteCfPIva + ") con sede legale in " + currContraenteSede; %]
|
||||
[/DO]
|
||||
[/WHILE]
|
||||
|
||||
@@ -131,3 +74,4 @@ settings:
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
|
||||
-63
@@ -1,63 +0,0 @@
|
||||
info:
|
||||
name: Fascicolo e documento - Nuovo formato
|
||||
type: http
|
||||
seq: 9
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/eftl/process/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "17144"
|
||||
disabled: true
|
||||
- name: x-ef-request-id
|
||||
value: "15956"
|
||||
- name: x-ef-request-id
|
||||
value: "25981"
|
||||
disabled: true
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"crlf": "\r\n",
|
||||
"DEBUG": "S"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
const { prepareEftlDocument } = require("./elixFormsJs.js")
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
prepareEftlDocument(String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
|
||||
[VAR name="idContratto" type="string"][TAG]GETVALUEBYTAG,ID_IRIS,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="titoloContratto" type="string"][TAG]GETVALUEBYTAG,PROPOSTA_CCT_CONTRATTO_DESCR,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="responsabiliCsv" type="string"][TAG]GETVALUEBYTAG,ELENCO_RS_CSV,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="contraentiCsv" type="string"][TAG]GETVALUEBYTAG,ELENCO_CONTRAENTI_CSV,REQUEST,IUQOID[/TAG][/VAR]
|
||||
|
||||
Debug: [TAG]GETVALUEBYTAG,RICHIEDENTE_CODFIS,REQUEST,IUQOID[/TAG]
|
||||
|
||||
Fascicolo: [TAG]GETVALUEBYTAG,ID_IRIS,REQUEST,IUQOID[/TAG] - [TAG]GETVALUEBYTAG,ELENCO_CONTRAENTI_CSV,REQUEST,IUQOID[/TAG] - [TAG]GETVALUEBYTAG,ELENCO_RS_CSV,REQUEST,IUQOID[/TAG] - [TAG]GETVALUEBYTAG,PROPOSTA_CCT_CONTRATTO_DESCR,REQUEST,IUQOID[/TAG]
|
||||
Documento: Proposta di Contratto / Convenzione - [TAG]GETVALUEBYTAG,ID_IRIS,REQUEST,IUQOID[/TAG] - [TAG]GETVALUEBYTAG,ELENCO_CONTRAENTI_CSV,REQUEST,IUQOID[/TAG] - [TAG]GETVALUEBYTAG,ELENCO_RS_CSV,REQUEST,IUQOID[/TAG] - [TAG]GETVALUEBYTAG,PROPOSTA_CCT_CONTRATTO_DESCR,REQUEST,IUQOID[/TAG]
|
||||
|
||||
Old Fas: [TAG]SCHEMAID,341,COL0001,IUQOID, , [/TAG]
|
||||
Old Doc: Proposta di contratto / convenzione - ID contratto: [TAG]SCHEMAID,341,COL0001,IUQOID, , [/TAG]
|
||||
[/EFTL]
|
||||
`);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
+10
-5
@@ -1,5 +1,5 @@
|
||||
info:
|
||||
name: Fascicolo e documento su Titulus
|
||||
name: Mostra ritenute / assenza esenzioni
|
||||
type: http
|
||||
seq: 6
|
||||
|
||||
@@ -22,9 +22,7 @@ http:
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"crlf": "\r\n",
|
||||
"DEBUG": "S"
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
@@ -37,9 +35,15 @@ runtime:
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
prepareEftlDocument(String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="esenzioneRitenute" type="string"][TAG]GETVALUEBYTAG,PROPOSTA_CCT_ESENZIONE_RITENUTE,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="showRitenute" type="string"][% showRitenute = "S"; %][/VAR]
|
||||
|
||||
[TAG]GETVALUEBYTAG,ID_IRIS,REQUEST,ID_OBJECT[/TAG] - [TAG]GETVALUEBYTAG,ELENCO_CONTRAENTI_CSV,REQUEST,ID_OBJECT[/TAG] - [TAG]GETVALUEBYTAG,ELENCO_RS_CSV,REQUEST,ID_OBJECT[/TAG] - [TAG]GETVALUEBYTAG,PROPOSTA_CCT_CONTRATTO_DESCR,REQUEST,ID_OBJECT[/TAG]
|
||||
[IF]
|
||||
[CONDITION][% esenzioneRitenute != "" %][/CONDITION]
|
||||
[THEN][% showRitenute = "N"; %][/THEN]
|
||||
[/IF]
|
||||
|
||||
[%= showRitenute %]
|
||||
[/EFTL]
|
||||
`);
|
||||
|
||||
@@ -48,3 +52,4 @@ settings:
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
+55
@@ -0,0 +1,55 @@
|
||||
info:
|
||||
name: Mostra ritenute
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/eftl/process/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "8463"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
const { prepareEftlDocument } = require("./elixFormsJs.js")
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
prepareEftlDocument(String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="tipologiaCodice" type="string"][TAG]GETVALUEBYTAG,TIPOLOGIA_CODICE,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="showEconomico" type="string"][% showEconomico = "S"; %][/VAR]
|
||||
[VAR name="tipologieNonEconomico" type="iterable"][SPLIT regex=";"][TAG]GETVALUEBYTAG,TIPOLOGIE_NON_ECONOMICO,REQUEST,IUQOID[/TAG][/SPLIT][/VAR]
|
||||
|
||||
[IF]
|
||||
[CONDITION]
|
||||
[CONTAINS varname="tipologieNonEconomico"][VALUE_OF varname="tipologiaCodice" /][/CONTAINS]
|
||||
[/CONDITION]
|
||||
[THEN][% showEconomico = "N"; %][/THEN]
|
||||
[/IF]
|
||||
|
||||
[%= showEconomico %]
|
||||
[/EFTL]
|
||||
`);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
info:
|
||||
name: Nominativo RS
|
||||
type: http
|
||||
seq: 11
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/eftl/process/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "37031"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
const { prepareEftlDocument } = require("./elixFormsJs.js")
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
prepareEftlDocument(String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="responsabileScientificoProponenteCompleto" type="string"][% responsabileScientificoProponenteCompleto = ""; %][/VAR]
|
||||
[VAR name="responsabileScientificoQualifica" type="string"][TRIM][TAG]SCHEMAID,341,COL0011,IUQOID, , [/TAG][/TRIM][/VAR]
|
||||
[VAR name="responsabileScientificoNome" type="string"][TRIM][TAG]SCHEMAID,341,COL0012,IUQOID, , [/TAG][/TRIM][/VAR]
|
||||
[VAR name="responsabileScientificoCognome" type="string"][TRIM][TAG]SCHEMAID,341,COL0013,IUQOID, , [/TAG][/TRIM][/VAR]
|
||||
|
||||
[% responsabileScientificoProponenteCompleto = responsabileScientificoQualifica + " " + responsabileScientificoNome + " " + responsabileScientificoCognome; %]
|
||||
|
||||
[%= responsabileScientificoProponenteCompleto %]
|
||||
[/EFTL]
|
||||
`);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
info:
|
||||
name: Percentuale ritenuta 2 max NON economico effettiva
|
||||
type: http
|
||||
seq: 18
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/eftl/process/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "37031"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
const { prepareEftlDocument } = require("./elixFormsJs.js")
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
prepareEftlDocument(String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="ritenuta2NEeffettiva" type="number"][% ritenuta2NEeffettiva = 0; %][/VAR]
|
||||
[VAR name="ritenuta2NEmax" type="number"][TAG]SCHEMAID,341,COL0098,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ritenuta2fattore" type="number"][TAG]SCHEMAID,341,COL0030,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ritenuta2NEinserita" type="number"][TAG]SCHEMAID,337,COL0064,IUQOID, , [/TAG][/VAR]
|
||||
|
||||
[% ritenuta2NEeffettiva = 100 * ritenuta2fattore * ritenuta2NEinserita / ritenuta2NEmax; %]
|
||||
|
||||
[FORMAT type="number" pattern="#,##0.00"][% ritenuta2NEeffettiva %][/FORMAT]
|
||||
[/EFTL]
|
||||
`);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
info:
|
||||
name: Percentuale ritenuta 2 max effettiva
|
||||
type: http
|
||||
seq: 16
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/eftl/process/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "37031"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
const { prepareEftlDocument } = require("./elixFormsJs.js")
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
prepareEftlDocument(String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="ritenuta2effettiva" type="number"][% ritenuta2effettiva = 0; %][/VAR]
|
||||
[VAR name="ritenuta2max" type="number"][TAG]SCHEMAID,341,COL0065,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ritenuta2fattore" type="number"][TAG]SCHEMAID,341,COL0030,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ritenuta2inserita" type="number"][TAG]SCHEMAID,337,COL0017,IUQOID, , [/TAG][/VAR]
|
||||
|
||||
[% ritenuta2effettiva = 100 * ritenuta2fattore * ritenuta2inserita / ritenuta2max; %]
|
||||
|
||||
[FORMAT type="number" pattern="#,##0.00"][% ritenuta2effettiva %][/FORMAT]
|
||||
[/EFTL]
|
||||
`);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
+24
-5
@@ -12,7 +12,7 @@ http:
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "8760"
|
||||
value: "8463"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
@@ -20,10 +20,10 @@ http:
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"tipologiePunto1": "CRCT_RA;CRCT_RAS;CRCT_RB",
|
||||
"tipologiePuntoAll": "ACC_ACC",
|
||||
"tipologiePunto1": "CRCT_RA;CRCT_RAS;CRCT_RB;CCC_RA;CCC_RAS;CCC_RB",
|
||||
"tipologiePunto2": "SERV_CON",
|
||||
"tipologiePunto3": "FORM_COM",
|
||||
"tipologiePunto4": ""
|
||||
"tipologiePunto3": "FORM_COM"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
@@ -39,6 +39,18 @@ runtime:
|
||||
[VAR name="tipologiaContratto" type="string"][TAG]GETVALUEBYTAG,TIPOLOGIA_CODICE,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="puntoAregolamento" type="number"][% puntoAregolamento = 0; %][/VAR]
|
||||
|
||||
[!--
|
||||
1+2+3 ACC_ACC Accordi accessori
|
||||
1 CRCT_RA Contratti di ricerca conto terzi - ricerca applicata
|
||||
1 CRCT_RAS Contratti di ricerca conto terzi - ricerca applicata alla sanità
|
||||
1 CRCT_RB Contratti di ricerca conto terzi - ricerca di base
|
||||
3 FORM_COM Formazione di natura commerciale
|
||||
2 SERV_CON Servizi di consulenza
|
||||
1 CCC_RA Convenzioni di collaborazione scientifica commerciali - ricerca applicata
|
||||
1 CCC_RAS Convenzioni di collaborazione scientifica commerciali - ricerca applicata alla sanità
|
||||
1 CCC_RB Convenzioni di collaborazione scientifica commerciali - ricerca di base
|
||||
--]
|
||||
|
||||
[IF]
|
||||
[CONDITION][CONTAINS varname="tipologiePunto1"][VALUE_OF varname="tipologiaContratto" /][/CONTAINS][/CONDITION]
|
||||
[THEN][% puntoAregolamento = 1; %][/THEN]
|
||||
@@ -56,7 +68,13 @@ runtime:
|
||||
[/ELSE IF]
|
||||
[/IF]
|
||||
|
||||
[%= puntoAregolamento %]
|
||||
[VAR name="puntoAregolamentoOutput" type="string"][% puntoAregolamentoOutput = ""; %][/VAR]
|
||||
[IF]
|
||||
[CONDITION][% puntoAregolamento != 0 %][/CONDITION]
|
||||
[THEN][% puntoAregolamentoOutput = "." + puntoAregolamento; %][/THEN]
|
||||
[/IF]
|
||||
|
||||
[%= puntoAregolamentoOutput %]
|
||||
[/EFTL]
|
||||
`);
|
||||
|
||||
@@ -65,3 +83,4 @@ settings:
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
+16
-16
@@ -1,7 +1,7 @@
|
||||
info:
|
||||
name: Punto B regolamento
|
||||
type: http
|
||||
seq: 3
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: POST
|
||||
@@ -12,7 +12,7 @@ http:
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "8760"
|
||||
value: "8463"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
@@ -20,9 +20,10 @@ http:
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT",
|
||||
"tipologiePuntoAll": "CCS_IST_RA;CCS_IST_RAS;CCS_IST_RB",
|
||||
"tipologiePunto1": "",
|
||||
"tipologiePunto2": "",
|
||||
"tipologiePunto3": "CCS_IST_RA;CCS_IST_RAS;CCS_IST_RB",
|
||||
"tipologiePunto3": "CONV_QUA",
|
||||
"tipologiePunto4": "",
|
||||
"tipologiePunto5": "MTA;NDA"
|
||||
}
|
||||
@@ -37,24 +38,16 @@ runtime:
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
prepareEftlDocument(String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[!--
|
||||
"tipologiePunto1": "",
|
||||
"tipologiePunto2": "",
|
||||
"tipologiePunto3": "CCS_IST_RA;CCS_IST_RAS;CCS_IST_RB",
|
||||
"tipologiePunto4": "",
|
||||
"tipologiePunto5": "MTA;NDA"
|
||||
--]
|
||||
|
||||
[VAR name="tipologiaContratto" type="string"][TAG]GETVALUEBYTAG,TIPOLOGIA_CODICE,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="puntoBregolamento" type="number"][% puntoBregolamento = 0; %][/VAR]
|
||||
|
||||
[!--
|
||||
3 CCS_IST_RA Convenzioni di collaborazione scientifica istituzionali - ricerca applicata
|
||||
3 CCS_IST_RAS Convenzioni di collaborazione scientifica istituzionali - ricerca applicata alla sanità
|
||||
3 CCS_IST_RB Convenzioni di collaborazione scientifica istituzionali - ricerca di base
|
||||
3+4 CCS_IST_RAConvenzioni di collaborazione scientifica istituzionali - ricerca applicata
|
||||
3+4 CCS_IST_RASConvenzioni di collaborazione scientifica istituzionali - ricerca applicata alla sanità
|
||||
3+4 CCS_IST_RBConvenzioni di collaborazione scientifica istituzionali - ricerca di base
|
||||
5 MTAMaterial Transfer Agreement
|
||||
5 NDANon Disclosure Agreement
|
||||
? CONV_QUA Convenzioni quadro
|
||||
3 CONV_QUAConvenzioni quadro
|
||||
--]
|
||||
|
||||
[IF]
|
||||
@@ -78,7 +71,13 @@ runtime:
|
||||
[/ELSE IF]
|
||||
[/IF]
|
||||
|
||||
[FORMAT type="number" pattern="#"][% puntoBregolamento %][/FORMAT]
|
||||
[VAR name="puntoBregolamentoOutput" type="string"][% puntoBregolamentoOutput = ""; %][/VAR]
|
||||
[IF]
|
||||
[CONDITION][% puntoBregolamento != 0 %][/CONDITION]
|
||||
[THEN][% puntoBregolamentoOutput = "." + puntoBregolamento; %][/THEN]
|
||||
[/IF]
|
||||
|
||||
[%= puntoBregolamentoOutput %]
|
||||
[/EFTL]
|
||||
`);
|
||||
|
||||
@@ -87,3 +86,4 @@ settings:
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
info:
|
||||
name: Ritenuta 2 max NON economico messaggio
|
||||
type: http
|
||||
seq: 10
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/eftl/process/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "37031"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
const { prepareEftlDocument } = require("./elixFormsJs.js")
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
prepareEftlDocument(String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="numberIterable" type="iterable"][SPLIT regex="\."][TAG]SCHEMAID,341,COL0051,IUQOID, , [/TAG][/SPLIT][/VAR]
|
||||
[VAR name="first" type="number"][% first = 0; %][/VAR]
|
||||
[VAR name="second" type="number"][% second = 1; %][/VAR]
|
||||
[VAR name="numberIntegerPart" type="string"][VALUE_OF varname="numberIterable" index="first" /][/VAR]
|
||||
[VAR name="numberDecimalPart" type="string"][VALUE_OF varname="numberIterable" index="second" /][/VAR]
|
||||
|
||||
[IF][CONDITION][IS_EMPTY varname="numberDecimalPart" /][/CONDITION][THEN][% numberDecimalPart = "00"; %][/THEN][/IF]
|
||||
[VAR name="valueAsNumber" type="number"][% valueAsNumber = numberIntegerPart + "," + numberDecimalPart; %][/VAR]
|
||||
|
||||
[!-- Gestiamo il pregresso prima dello split delle due ritenute 2 max eco/non-eco --]
|
||||
[VAR name="checkPregresso" type="string"][TAG]SCHEMAID,341,COL0120,IUQOID, , [/TAG][/VAR]
|
||||
[IF]
|
||||
[CONDITION][IS_EMPTY varname="checkPregresso" /][/CONDITION]
|
||||
[THEN][VAR name="fattoreRitenuta2NEmax" type="number"][TAG]SCHEMAID,341,COL0030,IUQOID, , [/TAG][/VAR][/THEN]
|
||||
[ELSE][VAR name="fattoreRitenuta2NEmax" type="number"][TAG]SCHEMAID,341,COL0120,IUQOID, , [/TAG][/VAR][/ELSE]
|
||||
[/IF]
|
||||
|
||||
[VAR name="ritenuta2NEmax" type="number"][% ritenuta2NEmax = valueAsNumber * fattoreRitenuta2NEmax; %][/VAR]
|
||||
|
||||
[%= "L'importo massimo (" %][FORMAT type="number" pattern="#,##0.##"][% fattoreRitenuta2NEmax * 100 %][/FORMAT][%= "% degli overheads) dell'ulteriore ritenuta deliberata dalla struttura è: " + ritenuta2NEmax + " €" %]
|
||||
|
||||
[/EFTL]
|
||||
`);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
info:
|
||||
name: Ritenuta 2 max messaggio
|
||||
type: http
|
||||
seq: 8
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/eftl/process/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "37031"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
const { prepareEftlDocument } = require("./elixFormsJs.js")
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
prepareEftlDocument(String.raw`
|
||||
[EFTL]
|
||||
[VAR name="numberIterable" type="iterable"][SPLIT regex="\."][TAG]SCHEMAID,341,COL0009,IUQOID, , [/TAG][/SPLIT][/VAR]
|
||||
[VAR name="first" type="number"][% first = 0; %][/VAR]
|
||||
[VAR name="second" type="number"][% second = 1; %][/VAR]
|
||||
[VAR name="numberIntegerPart" type="string"][VALUE_OF varname="numberIterable" index="first" /][/VAR]
|
||||
[VAR name="numberDecimalPart" type="string"][VALUE_OF varname="numberIterable" index="second" /][/VAR]
|
||||
|
||||
[IF][CONDITION][IS_EMPTY varname="numberDecimalPart" /][/CONDITION][THEN][% numberDecimalPart = "00"; %][/THEN][/IF]
|
||||
[VAR name="valueAsNumber" type="number"][% valueAsNumber = numberIntegerPart + "," + numberDecimalPart; %][/VAR]
|
||||
|
||||
[VAR name="fattoreRitenuta2max" type="string"][TAG]SCHEMAID,341,COL0030,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ritenuta2max" type="number"][% ritenuta2max = valueAsNumber * fattoreRitenuta2max; %][/VAR]
|
||||
|
||||
[%= "L'importo massimo (" %][FORMAT type="number" pattern="#,##0.##"][% fattoreRitenuta2max * 100 %][/FORMAT][%= "%) dell'ulteriore ritenuta deliberata dalla struttura è: " + ritenuta2max + " €" %]
|
||||
|
||||
[/EFTL]
|
||||
`);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
info:
|
||||
name: Valore ritenuta 2 max NON economico formattato
|
||||
type: http
|
||||
seq: 19
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/eftl/process/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "37031"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
const { prepareEftlDocument } = require("./elixFormsJs.js")
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
prepareEftlDocument(String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="ritenuta2NEinserita" type="string"][TAG]SCHEMAID,337,COL0064,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ritenuta2NEformattata" type="number"][% ritenuta2NEformattata = 0; %][/VAR]
|
||||
|
||||
[IF]
|
||||
[CONDITION][% ritenuta2NEinserita != "" %][/CONDITION]
|
||||
[THEN][% ritenuta2NEformattata = ritenuta2NEinserita; %][/THEN]
|
||||
[/IF]
|
||||
|
||||
[FORMAT type="number" pattern="#,##0.00"][% ritenuta2NEformattata %][/FORMAT]
|
||||
[/EFTL]
|
||||
`);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
info:
|
||||
name: Valore ritenuta 2 max formattato
|
||||
type: http
|
||||
seq: 17
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/eftl/process/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "37031"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
const { prepareEftlDocument } = require("./elixFormsJs.js")
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
prepareEftlDocument(String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="ritenuta2inserita" type="string"][TAG]SCHEMAID,337,COL0017,IUQOID, , [/TAG][/VAR]
|
||||
[VAR name="ritenuta2formattata" type="number"][% ritenuta2formattata = 0; %][/VAR]
|
||||
|
||||
[IF]
|
||||
[CONDITION][% ritenuta2inserita != "" %][/CONDITION]
|
||||
[THEN][% ritenuta2formattata = ritenuta2inserita; %][/THEN]
|
||||
[/IF]
|
||||
|
||||
[FORMAT type="number" pattern="#,##0.00"][% ritenuta2formattata %][/FORMAT]
|
||||
[/EFTL]
|
||||
`);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
info:
|
||||
name: Voce indice fascicolazione
|
||||
type: http
|
||||
seq: 5
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{elixFormsApiUrl}}/eftl/process/v1"
|
||||
headers:
|
||||
- name: x-requested-with
|
||||
value: XMLHttpRequest
|
||||
- name: x-api-key
|
||||
value: "{{elixFormsWsAuthenticationToken}}"
|
||||
- name: x-ef-request-id
|
||||
value: "17144"
|
||||
disabled: true
|
||||
- name: x-ef-request-id
|
||||
value: "25889"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"userDocument": "{{elixBase64EftlDocument}}", // see the pre-request script
|
||||
"userContext": {
|
||||
"lang": "IT"
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: |-
|
||||
const { prepareEftlDocument } = require("./elixFormsJs.js")
|
||||
// Copy-pasta your EFTL document below inside the template literals (`)
|
||||
prepareEftlDocument(String.raw`
|
||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||
[VAR name="tipologiaCodice" type="string"][TAG]GETVALUEBYTAG,TIPOLOGIA_CODICE,REQUEST,IUQOID[/TAG][/VAR]
|
||||
[VAR name="suffissoVoceIndice" type="string"][% suffissoVoceIndice = "Contratti"; %][/VAR]
|
||||
[VAR name="tipologieContoTerzi" type="iterable"][SPLIT regex=";"][TAG]GETVALUEBYTAG,TIPOLOGIE_VOCE_INDICE_CONTOTERZI,REQUEST,IUQOID[/TAG][/SPLIT][/VAR]
|
||||
|
||||
[IF]
|
||||
[CONDITION]
|
||||
[CONTAINS varname="tipologieContoTerzi"][VALUE_OF varname="tipologiaCodice" /][/CONTAINS]
|
||||
[/CONDITION]
|
||||
[THEN][% suffissoVoceIndice = "ContoTerzi"; %][/THEN]
|
||||
[/IF]
|
||||
|
||||
[%= suffissoVoceIndice %]
|
||||
[/EFTL]
|
||||
`);
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
forwardAuthorizationHeader: true
|
||||
@@ -403,7 +403,4 @@ request:
|
||||
// pm.visualizer.set(template, tableProps);
|
||||
*/
|
||||
bundled: false
|
||||
extensions:
|
||||
ignore:
|
||||
- node_modules
|
||||
- .git
|
||||
extensions: {}
|
||||
|
||||
Reference in New Issue
Block a user