Module data display overview
Module data is displayed on the Root management dashboard in a two-column table. You return raw values from your product module — the dashboard handles presentation.
This applies wherever module data is shown, whether the values come straight from the module object written by your quote, application, policy issue or alteration hooks, or from the display_data returned by getPolicyModuleDisplayData() or getApplicationModuleDisplayData().
Automatic formatting
- Dates: ISO date strings are automatically formatted according to the organisation's date format preferences
- Currency: Numeric fields with names containing "premium", "amount", "value", "assured", "income", or "fund" are automatically formatted as currency with the policy's currency symbol
- Booleans: true displays as "Yes", false displays as "No"
- Snake case: Field names like spouse_included are automatically converted to title case ("Spouse Included")
- Nested objects: Object properties are rendered as nested tables for better organisation
- Arrays: Arrays can be expanded/collapsed for better readability
Return raw valuesYou don't need to format these values yourself. Return the raw value and the dashboard formats it according to the rules above.
Links
A value in the form [label](target) is displayed as a link rather than as text, and a link to a policy can name a section of the policy to open at. See Links in module data.
Updated about 1 hour ago