fix: elixFormsAPI - calcolo ore equivalenti
This commit is contained in:
+3
-10
@@ -18,7 +18,7 @@ http:
|
|||||||
value: "22224"
|
value: "22224"
|
||||||
disabled: true
|
disabled: true
|
||||||
- name: x-ef-request-id
|
- name: x-ef-request-id
|
||||||
value: "23663"
|
value: "23719"
|
||||||
body:
|
body:
|
||||||
type: json
|
type: json
|
||||||
data: |-
|
data: |-
|
||||||
@@ -41,17 +41,10 @@ runtime:
|
|||||||
prepareEftlDocument(String.raw`
|
prepareEftlDocument(String.raw`
|
||||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||||
|
|
||||||
[VAR name="importo" type="number"][TAG]GETVALUEBYTAG,IMPORTO_RIPARTIZIONE_ASSEGNATA,REQUEST,IUQOID[/TAG][/VAR]
|
[VAR name="importo" type="number"][TAG]SCHEMAID,709,COL0118,IUQOID, , ,,0.00000[/TAG][/VAR]
|
||||||
[VAR name="fattore" type="number"][TAG]GETVALUEBYTAG,FATTORE_CONVERSIONE_ORE,REQUEST,IUQOID[/TAG][/VAR]
|
[VAR name="fattore" type="number"][TAG]SCHEMAID,709,COL0120,IUQOID, , ,,0.00000[/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]
|
|
||||||
|
|
||||||
[%= importo * fattore %]
|
[%= importo * fattore %]
|
||||||
[%= crlf %]
|
|
||||||
[%= oreEquivalenti %]
|
|
||||||
[/EFTL]
|
[/EFTL]
|
||||||
`);
|
`);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user