@pageContainer>
<@pageColumn>
<@pageHeader title='${form.title}'>
<#if appointment.listWorkflowActions?? && appointment.listWorkflowActions?size gt 0>
<#list appointment.listWorkflowActions as action>
<@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=viewWorkflowActionForm&id_action=${action.id}&id_appointment=${appointment.idAppointment}'>
<@img url='image?resource_type=workflow_icon_img&id=${action.icon.id}' alt='${action.name}' params='<#if action.icon.width!=-1>width="${action.icon.width}"#if> <#if action.icon.height!=-1>height="${action.icon.height}"#if> title="${action.name}"' />
@aButton>
#list>
#if>
<#if activateWorkflow == "true">
<#if rightChangeStatus>
<#if appointment.isCancelled>
<@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?action=doChangeAppointmentStatus&id_appointment=${appointment.idAppointment}&status_cancelled=false' title='#i18n{appointment.manageAppointments.labelValidateAppointment}' buttonIcon='check' />
#if>
<#if !appointment.isCancelled>
<@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?action=doChangeAppointmentStatus&id_appointment=${appointment.idAppointment}&status_cancelled=true' title='#i18n{appointment.labelCancelAppointment}' buttonIcon='times' color='danger' />
#if>
#if>
#if>
<#if rightDelete?? && rightDelete>
<@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?action=confirmRemoveAppointment&id_form=${form.idForm}&id_appointment=${appointment.idAppointment}' title='#i18n{portal.util.labelDelete}' buttonIcon='trash' color='danger' />
#if>
<@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}' buttonIcon='arrow-left' color='default' title='#i18n{portal.util.labelBack}' />
@pageHeader>
<@box>
<@boxBody>
<@messages errors=errors />
<@listGroup>
<@listGroupItem>${formMessages.fieldLastNameTitle!} : ${appointment.lastName}@listGroupItem>
<@listGroupItem>${formMessages.fieldFirstNameTitle!} : ${appointment.firstName}@listGroupItem>
<@listGroupItem>${formMessages.fieldEmailTitle!} : ${appointment.email}@listGroupItem>
<@listGroupItem>#i18n{appointment.createAppointmentForm.labelNumberOfBookedseatsPerAppointment} : ${appointment.nbBookedSeats}@listGroupItem>
<#list listResponseRecapDTO as response>
<#if response.recapValue?has_content>
<#if !entrySave?exists||entrySave.idEntry!=response.entry.idEntry><#assign responseLabelKey = response.entry.title /><#assign entrySave=response.entry />#if>
<@listGroupItem>
${responseLabelKey!} <#if response.file?? && response.file.idFile gt 0><@link href='jsp/admin/plugins/appointment/DoDownloadAppointmentsFile.jsp?idResponse=${response.idResponse}'><@p>${response.recapValue}@p>@link><#else><@p>${response.recapValue}@p>#if>
@listGroupItem>
#if>
#list>
<@listGroupItem>#i18n{appointment.dateAppointment.title} : ${appointment.dateOfTheAppointment} #i18n{appointment.labelFrom} ${appointment.startingTime} #i18n{appointment.labelTo} ${appointment.endingTime}@listGroupItem>
<@listGroupItem>#i18n{appointment.viewAppointmentFormMessages.labelAppointmentTakenBy} : <#if appointment.adminUserCreate??>#i18n{appointment.viewAppointmentFormMessages.labelAppointmentUserBO} <#if userCreator??>${userCreator.lastName!''} ${userCreator.firstName!''}#if><#else>#i18n{appointment.viewAppointmentFormMessages.labelAppointmentUser}#if>@listGroupItem>
@listGroup>
${addon!}
<#if resource_history?? && resource_history != ''>${resource_history}#if>
@boxBody>
@box>
@pageColumn>
@pageContainer>