diff --git a/RFXtoRP_HsaDispute_Created.ftl b/RFXtoRP_HsaDispute_Created.ftl index 55ea4d0..d54cafe 100644 --- a/RFXtoRP_HsaDispute_Created.ftl +++ b/RFXtoRP_HsaDispute_Created.ftl @@ -22,9 +22,14 @@ <#else> "Title":"", + "Criticality":"${TableCriticality[dispute.dispute_criticity]}", "Amount": { - <#-- "Currency": "${TableCurrency[dispute.dispute_amount_unit]}",--> - "Currency":"EUR", + <#assign isCurrencyCode = JsonUtil.isCurrencyCode(dispute.dispute_amount_unit?upper_case) /> + <#if isCurrencyCode> + "Currency" : "${dispute.dispute_amount_unit?upper_case?json_string}", + <#else> + "Currency" : "XXX", + "Value": "${dispute.dispute_amount}" }, <#if dispute.dispute_type_code=="050" > @@ -48,7 +53,4 @@ } } -] - - - +] \ No newline at end of file