This commit is contained in:
Laurie MONTANT 2024-09-12 17:07:33 +02:00
parent ab7c45bcd7
commit 01d58746d8

View File

@ -22,9 +22,14 @@
<#else> <#else>
"Title":"", "Title":"",
</#if> </#if>
"Criticality":"${TableCriticality[dispute.dispute_criticity]}",
"Amount": { "Amount": {
<#-- "Currency": "${TableCurrency[dispute.dispute_amount_unit]}",--> <#assign isCurrencyCode = JsonUtil.isCurrencyCode(dispute.dispute_amount_unit?upper_case) />
"Currency":"EUR", <#if isCurrencyCode>
"Currency" : "${dispute.dispute_amount_unit?upper_case?json_string}",
<#else>
"Currency" : "XXX",
</#if>
"Value": "${dispute.dispute_amount}" "Value": "${dispute.dispute_amount}"
}, },
<#if dispute.dispute_type_code=="050" > <#if dispute.dispute_type_code=="050" >
@ -48,7 +53,4 @@
} }
} }
] ]