#include "/admin/plugins/appointment/appointment/manage_appointment_tabs.html" />
${form.title} - #i18n{appointment.manage_appointments.pageTitle} <#if day??>#i18n{appointment.manage_appointment_calendar.labelOf} ${day.date}#if> <#if slot??> #i18n{appointment.manage_appointment_calendar.labelFrom} <#if slot.startingHour < 10>0#if>${slot.startingHour}h<#if slot.startingMinute < 10>0#if>${slot.startingMinute} #i18n{appointment.manage_appointment_calendar.labelTo} <#if slot.endingHour < 10>0#if>${slot.endingHour}h<#if slot.endingMinute < 10>0#if>${slot.endingMinute} #if>
<@headerButtons> <#if rightCreate?? && rightCreate>
#i18n{appointment.manage_appointments.buttonAdd}
#if> @headerButtons>
<@tabs tab="filter" form=form> <@messages infos=infos />
<#if slot??>
#if> <#if day??>
#if> <#if form??>
#if>
#i18n{appointment.manage_appointments.labelSearch}
${formMessages.fieldLastNameTitle}
${formMessages.fieldFirstNameTitle}
${formMessages.fieldEmailTitle}
#i18n{appointment.manage_appointments.labelDate}
#i18n{appointment.manage_appointments.labelDateHelp}
#i18n{appointment.manage_appointments.columnNumberOfBookedseatsPerAppointment}
#i18n{appointment.manage_appointments.labelStatus}
<@comboWithParams name="status" items=refListStatus default_value="filter.status" additionalParameters="class='form-control'" />
<#if list_admin_users??>
#i18n{appointment.manage_appointments.labelAdminUser}
<@comboWithParams name="idAdminUser" items=list_admin_users default_value="filter.idAdminUser" additionalParameters="class='form-control'" />
#if>
#i18n{appointment.manage_appointments.labelSearch}
#i18n{appointment.display_appointment_form.labelReset}
<@comboWithParams name="statusExport" items=refListExports default_value="${filter.statusFilter}" additionalParameters="class='form-control input-sm'" />
#i18n{appointment.permission.label.deleteMassAppointment}
#i18n{appointment.permission.label.exportMassAppointment}
<@paginationAdmin paginator=paginator combo=1 form=0 />
<#if appointment_list?? && appointment_list?size > 0>
#i18n{appointment.manage_appointments.columnLastName}
#i18n{appointment.manage_appointments.columnFirstName}
<#if form.maximumNumberOfBookedSeats > 1>
#i18n{appointment.create_appointmentform.labelPlaces}
#if>
#i18n{appointment.manage_appointments.columnEmail}
#i18n{appointment.manage_appointments.columnDateAppointment}
#i18n{appointment.manage_appointments.columnAdminUser}
#i18n{appointment.manage_appointments.columnStatus}
#i18n{appointment.manage_appointments.columnState}
#i18n{portal.util.labelActions}
<#list appointment_list as appointment >
${appointment.lastName}
${appointment.firstName}
<#if form.maximumNumberOfBookedSeats > 1>
${appointment.numberPlacesReserved}
#if>
${appointment.email}
${appointment.dateAppointment} #i18n{appointment.manage_appointment_calendar.labelFrom} ${appointment.startAppointment?time?string["HH:mm"]} #i18n{appointment.manage_appointment_calendar.labelTo} ${appointment.endAppointment?time?string["HH:mm"]}
<#if appointment.idAdminUser > 0> <#list list_admin_users as refItemAdmin> <#if refItemAdmin.code == appointment.idAdminUser?string> ${refItemAdmin.name} <#break> #if> #list> #if>
<#if appointment.status == status_reserved>
#i18n{appointment.message.labelStatusReserved}
<#elseif appointment.status = status_unreserved>
#i18n{appointment.message.labelStatusUnreserved}
<#else>
#i18n{appointment.message.labelStatusReserved}
#if>
<#if appointment.state?? && appointment.state.name??> ${appointment.state.name!} #if>
<#if rightModify?? && rightModify && appointment.status == status_reserved>
#if> <#if rightView?? && rightView>
#if> <#if appointment.listWorkflowActions?? && appointment.listWorkflowActions?size > 0> <#list appointment.listWorkflowActions as action>
width="${action.icon.width}" #if><#if action.icon.height!=-1> height="${action.icon.height}"#if> title="${action.name}" alt="${action.name}" />
#list> #if> <#if activateWorkflow == "true" > <#if rightChangeStatus> <#if appointment.status != status_reserved>
#if> <#if appointment.status != status_unreserved>
#if> #if> #if> <#if rightDelete?? && rightDelete>
#if>
#list>
<#else> #i18n{portal.util.labelNoItem} #if>
<@paginationAdmin paginator=paginator form=0 />
@tabs>
<@getDatePickerBootstrap idField="dateAppointment" language=language />