fix: elixFormsAPI - calcolo ore equivalenti

This commit is contained in:
2026-02-23 15:44:43 +01:00
parent 2076d93c7b
commit 759155e765
@@ -18,7 +18,7 @@ http:
value: "22224"
disabled: true
- name: x-ef-request-id
value: "23663"
value: "23719"
body:
type: json
data: |-
@@ -41,17 +41,10 @@ runtime:
prepareEftlDocument(String.raw`
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
[VAR name="importo" type="number"][TAG]GETVALUEBYTAG,IMPORTO_RIPARTIZIONE_ASSEGNATA,REQUEST,IUQOID[/TAG][/VAR]
[VAR name="fattore" type="number"][TAG]GETVALUEBYTAG,FATTORE_CONVERSIONE_ORE,REQUEST,IUQOID[/TAG][/VAR]
[VAR name="importo2" type="number"][TAG]SCHEMAID,709,COL0118,IUQOID, , [/TAG][/VAR]
[VAR name="fattore2" type="number"][TAG]SCHEMAID,709,COL0120,IUQOID, , [/TAG][/VAR]
[VAR name="oreEquivalenti" type="number"][% oreEquivalenti = importo2 * fattore2; %][/VAR]
[VAR name="importo" type="number"][TAG]SCHEMAID,709,COL0118,IUQOID, , ,,0.00000[/TAG][/VAR]
[VAR name="fattore" type="number"][TAG]SCHEMAID,709,COL0120,IUQOID, , ,,0.00000[/TAG][/VAR]
[%= importo * fattore %]
[%= crlf %]
[%= oreEquivalenti %]
[/EFTL]
`);