[#assign mdf_request_id = (request.getAttribute("INFO_ITEM").objectEntryId)! /] [#assign claim_status_style = {"draft": "label label-tonal-dark ml-2", "pendingMarketingReview": "label label-tonal-warning ml-2", "approved": "label label-tonal-success ml-2", "moreInfoRequested": "label label-tonal-warning ml-2", "rejected": "label label-tonal-danger ml-2", "expired": "label label-tonal-danger ml-2", "claimPaid": "label label-tonal-info ml-2", "inFinanceReview": "label label-tonal-light ml-2"}] [#function check_claim status_key] [#return status_key != "draft" && status_key != "expired" && status_key != "rejected" /] [/#function] [#function get_currency value currency_key="USD"] [#return value?string["ยค,##0.00;; currencyCode=${currency_key}"] /] [/#function] [#macro panel claim site_url]
Claimed ${get_currency(claim.totalClaimAmount, (claim.currency.key)!"USD")}
To use this fragment either place it on a Display Page Template to see which attributes are available from request.getAttribute("INFO_ITEM").
It's important to note that this will only display the attributes of a display page when you view the published display page not when you are editing it.