diff --git a/RFXtoRP_HsaDispute_Created.ftl b/RFXtoRP_HsaDispute_Created.ftl index c0c9366..40f5c24 100644 --- a/RFXtoRP_HsaDispute_Created.ftl +++ b/RFXtoRP_HsaDispute_Created.ftl @@ -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", + "Value": "${dispute.dispute_amount}" }, diff --git a/Table.ftl b/Table.ftl index b61f611..7f2d545 100644 --- a/Table.ftl +++ b/Table.ftl @@ -6,4 +6,10 @@ "4":"CLAIM_CRITICALITY_BLOCKING" }> + <#-- Table Amout --> +<#assign TableAmount = { + "$": "USD", + "£":"GBP", + "DH":"MAD" + }>