#macro renderPanel panel>
<#if panel.actionGroups?size > 0>
#if>
#macro>
<#macro renderGroup group>
<#if group.actions?size > 0>
<#if group.icon ??>
<#if group.badgeText??>
${group.badgeText}
#if>
#if>
${group.title}
#if>
#macro>
<#macro renderAction action>
#macro>
<#macro actionMenu panels customer>
#macro>
<#macro renderTreeGroup group>
<#if group.actions?size > 0>
#if>
#macro>
<#macro actionTree panels customer>
<#assign index=0>
<#list panels as panel>
<#if panel.actionGroups?size > 0 && index==1 >
<#list panel.actionGroups as group>
<@renderTreeGroup group />
#list>
#if>
<#assign index=index+1>
#list>
#macro>
<#macro customerMenuDetails customer>
#macro>
<#macro customerDetails customer>
${customer.firstname} ${customer.lastname}
<#if customer.email?has_content>
${customer.email} <#if customer.isEmailVerified && true>#if>
#if>
<#if customer.fixedPhoneNumber?has_content>
<#if customer.fixedPhoneNumber?length == 10>
${customer.fixedPhoneNumber[0..1]} ${customer.fixedPhoneNumber[2..3]} ${customer.fixedPhoneNumber[4..5]} ${customer.fixedPhoneNumber[6..7]} ${customer.fixedPhoneNumber[8..9]}
<#else>
${customer.fixedPhoneNumber!}
#if>
#if>
<#if customer.mobilePhone?has_content>
<#if customer.mobilePhone?length == 10>
${customer.mobilePhone[0..1]} ${customer.mobilePhone[2..3]} ${customer.mobilePhone[4..5]} ${customer.mobilePhone[6..7]} ${customer.mobilePhone[8..9]}
<#else>
${customer.mobilePhone!}
#if>
<#if customer.isMobilePhoneVerified && true>#if>
#if>
#macro>
<#macro customerFilter>
#macro>
<#-- Macro messages : display message block for errors or infos -->
<#macro notification infos=[] type="info" pos="bottom-left">
<#-- Error messages handling -->
<#-- Info messages handling -->
<#if infos??>
<#if infos?size > 0 >
<#list infos as info >
${info.message} x
#list>
#if>
#if>
#macro>