<#include "action_bar.html" /> <#include "demands_utils.html" /> <@actionMenu panels=panels customer=customer />
<#if customer.id??>
<@customerDetails customer=customer />

#i18n{gru.view_customer_demand.demand.panel.list.reference} : ${demand.reference!'Reference missing'} <#switch demand.statusId> <#case 0> <#if creation_date_as_date >

#i18n{gru.view_customer_demand.demand.panel.list.create} : ${demand.creationDate?number_to_datetime?string["dd/MM/yyyy HH:mm"]}

<#else>

#i18n{gru.view_customer_demand.demand.panel.list.open.since} : ${displayTimeOpenedTicket(demand)}

<#break> <#case 1>

#i18n{gru.view_customer_demand.demand.panel.deal.in} : ${displayTimeOpenedTicket(demand)}

<#break>

#i18n{gru.view_customer_demand.demand.panel.list.status.customer} : ${demand.customerStatus!''}

#i18n{gru.view_customer_demand.demand.panel.list.status.agent} : ${demand.agentStatus!''}

#i18n{gru.view_customer_demand.demand.panel.state} : <#switch demand.statusId> <#case 0> #i18n{gru.view_customer_demand.demand.panel.in.progress} <#break> <#case 1> #i18n{gru.view_customer_demand.demand.panel.completed} <#break>

<#list demand.actions as action> ${action.name}

${demand.title!'Title missing'}

<#list demand.notifications as notification> <#if notification.backofficeNotification ?? || notification.myDashboardNotification ?? || (notification.emailNotification ?? && notification.emailNotification.recipient?has_content) || (notification.smsNotification ?? && notification.smsNotification.phoneNumber?has_content) >

<#if notification.date?exists && notification.date gt 0 > ${notification.date?number_to_datetime} <#else> #i18n{gru.view_customer_demand.list.notification.no.date}

    <#if notification.backofficeNotification ??>
  • #i18n{gru.view_customer_demand.list.notification.agent.statut.title} ${notification.backofficeNotification.statusText}

    #i18n{gru.view_customer_demand.list.notification.agent.title}
    <#if notification.backofficeNotification.message?has_content>
  • <#if demand.showDetails> <#if notification.myDashboardNotification ??>
  • <#if notification.emailNotification ?? && notification.emailNotification.recipient?has_content>
  • <#if notification.smsNotification ?? && notification.smsNotification.phoneNumber?has_content>