@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}'>
<#assign iconParams><#if action.icon.width!=-1>width="${action.icon.width}" #if><#if action.icon.height!=-1>height="${action.icon.height}" #if>title="${action.name}"#assign>
<@img url='image?resource_type=workflow_icon_img&id=${action.icon.id}' alt='${action.name}' params=iconParams />
@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='light' />
#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='light' title='#i18n{portal.util.labelBack}' />
@pageHeader>
<@box>
<@boxBody>
<@messages errors=errors />
<@listGroup>
<@listGroupItem>${formMessages.fieldLastNameTitle!} : ${appointment.lastName?html}@listGroupItem>
<@listGroupItem>${formMessages.fieldFirstNameTitle!} : ${appointment.firstName?html}@listGroupItem>
<@listGroupItem>${formMessages.fieldEmailTitle!} : ${appointment.email?html}@listGroupItem>
<@listGroupItem>#i18n{appointment.createAppointmentForm.labelNumberOfBookedseatsPerAppointment} : ${appointment.nbBookedSeats}@listGroupItem>
<#assign shownEntries = [] />
<#list listResponseRecapDTO as response>
<#assign readOnlyHtml = (readOnlyEntries[response.entry.idEntry?c])!'' />
<#if readOnlyHtml?has_content>
<#if !shownEntries?seq_contains(response.entry.idEntry)>
<#assign shownEntries = shownEntries + [response.entry.idEntry] />
<@listGroupItem>${readOnlyHtml}@listGroupItem>
#if>
<#elseif 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?view=downloadFile&idResponse=${response.idResponse}'>${response.recapValue}@link><#else>${response.recapValue}#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?has_content>#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>