This commit is contained in:
Laurie MONTANT 2024-10-09 16:06:17 +02:00
parent 37773416ff
commit 86335ba52d
2 changed files with 11 additions and 3 deletions

View File

@ -26,10 +26,12 @@
<#assign isCurrencyCode = JsonUtil.isCurrencyCode(dispute.dispute_amount_unit?upper_case) />
<#if isCurrencyCode>
"Currency" : "${dispute.dispute_amount_unit?upper_case?json_string}",
<#--<#elseif isCurrencyCode!>
"Currency" : "${TableAmount[dispute.dispute_amount_unit?json_string]}",-->
<#else>
"Currency" : "XXX",
<#if TableAmount[dispute.dispute_amount_unit?json_string]??>
"Currency" : "${TableAmount[dispute.dispute_amount_unit?json_string]}",
<#else>
"Currency" : "XXX",
</#if>
</#if>
"Value": "${dispute.dispute_amount}"
},

View File

@ -6,4 +6,10 @@
"4":"CLAIM_CRITICALITY_BLOCKING"
}>
<#-- Table Amout -->
<#assign TableAmount = {
"$": "USD",
"£":"GBP",
"DH":"MAD"
}>