2. Iterate over the Map
Controller:
freemarker template:
<#if dataList**?exists**>
<#list dataList**?keys as mykey**>
<#assign infoList=dataList[mykey] >
<#list infoList as info>
<#if info_index == 0>
KaTeX parse error: Expected 'EOF', got '#' at position 40: … </#̲if> …{(**?date**)!}
<#if “1”==>
Approval in progress
<#elseif “2”==>
Approved
<#elseif “3”==>
delivered
<#elseif “4”==>
confirmed
<#else>
</#if>
</#list>
</#list>
</#if>
Controller:
freemarker template:
<#if dataList**?exists**>
<#list dataList**?keys as mykey**>
<#assign infoList=dataList[mykey] >
<#list infoList as info>
<#if info_index == 0>
KaTeX parse error: Expected 'EOF', got '#' at position 40: … </#̲if> …{(**?date**)!}
<#if “1”==>
Approval in progress
<#elseif “2”==>
Approved
<#elseif “3”==>
delivered
<#elseif “4”==>
confirmed
<#else>
</#if>
</#list>
</#list>
</#if>