[#assign mdf_claim_id = (request.getAttribute("INFO_ITEM").objectEntryId)! /] [#function get_currency value currency_key="USD"] [#return value?string["ยค,##0.00;; currencyCode=${currency_key}"] /] [/#function] [#macro activity_panel activity]
Budget Breakdown |
|
---|---|
${budget.expenseName} ${get_currency(budget.invoiceAmount?number, (activity.currency.key)!"USD")} |
[#if budget.invoice?has_content]
[@clay.icon class="mr-2 mt-3 text-neutral-5" symbol="document-table" /]
${budget.invoice.name?keep_before("#")} |
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.