<#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>

#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} : ${customer_status!''}

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

#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.userDashboard ?? || (notification.userEmail ?? && notification.userEmail.recipient?has_content) || (notification.userSms ?? && notification.userSms.phoneNumber?has_content) >

<#if notification.notificationDate?exists && notification.notificationDate gt 0 > ${notification.notificationDate?number_to_datetime} <#else> #i18n{gru.view_customer_demand.list.notification.no.date} <#if notification.userDashboard ??> ${notification.userDashboard.statusText!i18n('gru.view_customer_demand.list.notification.no.title')}

<#if demand.showDetails>
    <#if notification.userDashboard ??>
  • #i18n{gru.view_customer_demand.list.notification.user.dashboard.1} #i18n{gru.view_customer_demand.list.notification.user.dashboard.2} #i18n{gru.view_customer_demand.list.notification.user.dashboard.3}.

    <#if notification.userDashboard.message?has_content> ${notification.userDashboard.message} <#else> #i18n{gru.view_customer_demand.list.notification.user.dashboard.no.content}
  • <#if notification.userEmail ?? && notification.userEmail.recipient?has_content>
  • #i18n{gru.view_customer_demand.list.notification.email.sendLabel} : ${notification.userEmail.recipient}

    <#if notification.userEmail.subject?has_content> #i18n{gru.view_customer_demand.list.notification.email.labelSubject} : ${notification.userEmail.subject} <#else> #i18n{gru.view_customer_demand.list.notification.email.no.subject}
    <#if notification.userEmail.message?has_content> ${notification.userEmail.message} <#else> #i18n{gru.view_customer_demand.list.notification.email.no.content}
  • <#if notification.userSms ?? && notification.userSms.phoneNumber?has_content>
  • #i18n{gru.view_customer_demand.list.notification.sms.sendLabel} : ${notification.userSms.phoneNumber}

    <#if notification.userSms.message?has_content> ${notification.userSms.message} <#else> #i18n{gru.view_customer_demand.list.notification.sms.no.content}