<#include "/admin/plugins/appointment/modules/management/multiview_export.html" /> <@messages errors=errors warnings=warnings infos=infos /> <@row> <@columns> <@tform name='form' id='form' action='jsp/admin/plugins/appointment/modules/management/MultiviewAppointment.jsp'> <@input type='hidden' name='view' value='view_manage_appointments' /> <@div align='right'> <@button style='card-control collapse' buttonTargetId='#searchAppointment' title='#i18n{appointment.manageAppointments.labelSearch}' hideTitle=['xs','sm'] buttonIcon='search' /> <@aButton params='data-toggle="modal" data-target="#export_modal"' buttonIcon='download' title='#i18n{appointment.permission.label.exportMassAppointment}' /> <@fieldSet legend='#i18n{appointment.manageAppointments.labelSearch}' fieldsetId='searchAppointment'> <@row> <@columns sm=6> <@formGroup labelFor='idForm' labelKey='#i18n{module.appointment.management.multiview.columnFormTitle}'> <@select name='idForm' id='idForm' items=listForms default_value='${filter.idForm!}' /> <@columns sm=3> <@formGroup labelFor='idCategory' labelKey='#i18n{module.appointment.management.multiview.columnCategory}'> <@select name='idCategory' id='idCategory' items=listCategories default_value='${filter.idCategory!}' /> <@row> <@columns sm=3> <@formGroup labelFor='lastName' labelKey='#i18n{appointment.manageAppointments.columnLastName}'> <@input type='text' id='lastName' name='lastName' value='${filter.lastName!}' /> <@columns sm=3> <@formGroup labelFor='firstName' labelKey='#i18n{appointment.manageAppointments.columnFirstName}'> <@input type='text' id='firstName' name='firstName' value='${filter.firstName!}'/> <@columns sm=3> <@formGroup labelFor='email' labelKey='#i18n{appointment.manageAppointments.columnEmail}'> <@input type='text' id='email' name='email' value='${filter.email!}' /> <@columns sm=2> <@formGroup labelFor='status' labelKey='#i18n{appointment.labelStatus}'> <@select name='status' id='status' items=listStatus default_value='${filter.status!}' /> <@row> <@columns sm=3> <@formGroup labelFor='startingDateOfSearch' labelKey='#i18n{appointment.manageAppointments.startingDateOfSearch}'> <@inputGroup> <@input type='date' name='startingDateOfSearch' id='startingDateOfSearch' value='${filter.startingDateOfSearch!}' /> <@inputGroupItem type='text'> <@icon style='calendar' /> <@columns sm=3> <@formGroup labelFor='startingTimeOfSearch' labelKey='#i18n{appointment.labelTo}'> <@inputGroup> <@input type='text' name='startingTimeOfSearch' id='startingTimeOfSearch' value='${filter.startingTimeOfSearch!\'\'}' /> <@inputGroupItem type='text'> <@icon style='clock-o' /> <@columns sm=3> <@formGroup labelFor='endingDateOfSearch' labelKey='#i18n{appointment.manageAppointments.endingDateOfSearch}'> <@inputGroup> <@input type='date' name='endingDateOfSearch' id='endingDateOfSearch' value='${filter.endingDateOfSearch!}' /> <@inputGroupItem type='text'> <@icon style='calendar' /> <@columns sm=3> <@formGroup labelFor='endingTimeOfSearch' labelKey='#i18n{appointment.labelTo}'> <@inputGroup> <@input type='text' name='endingTimeOfSearch' id='endingTimeOfSearch' value='${filter.endingTimeOfSearch!\'\'}' /> <@inputGroupItem type='text'> <@icon style='clock-o' /> <@row> <@columns> <@actionButtons button1Name='Search' i18nValue1Key='appointment.manageAppointments.labelSearch' icon1='fas fa-search' button2Name='Reset' i18nValue2Key='appointment.displayAppointmentForm.labelReset' url2='jsp/admin/plugins/appointment/modules/management/MultiviewAppointment.jsp?view=view_manage_appointments&reset=\'true\'' icon2='fas fa-redo' />
<#if appointment_list?? && appointment_list?size > 0> <@div align='right'> <@paginationAdmin paginator=paginator /> <@table> <@th>#i18n{module.appointment.management.multiview.columnCategory} <@th>#i18n{module.appointment.management.multiview.columnFormTitle} <@th>#i18n{appointment.manageAppointments.columnLastName} <@aButton href='jsp/admin/plugins/appointment/modules/management/MultiviewAppointment.jsp?view=multiview_appointments&orderBy=last_name&orderAsc=true' buttonIcon='chevron-up' size='xs' color='default' /> <@aButton href='jsp/admin/plugins/appointment/modules/management/MultiviewAppointment.jsp?view=multiview_appointments&orderBy=last_name&orderAsc=false' buttonIcon='chevron-down' size='xs' color='default' /> <@th>#i18n{appointment.manageAppointments.columnFirstName} <@aButton href='jsp/admin/plugins/appointment/modules/management/MultiviewAppointment.jsp?view=multiview_appointments&orderBy=first_name&orderAsc=true' buttonIcon='chevron-up' size='xs' color='default' /> <@aButton href='jsp/admin/plugins/appointment/modules/management/MultiviewAppointment.jsp?view=multiview_appointments&orderBy=first_name&orderAsc=false' buttonIcon='chevron-down' size='xs' color='default' /> <@th>#i18n{appointment.manageAppointments.columnEmail} <@aButton href='jsp/admin/plugins/appointment/modules/management/MultiviewAppointment.jsp?view=multiview_appointments&orderBy=mail&orderAsc=true' buttonIcon='chevron-up' size='xs' color='default' /> <@aButton href='jsp/admin/plugins/appointment/modules/management/MultiviewAppointment.jsp?view=multiview_appointments&orderBy=mail&orderAsc=false' buttonIcon='chevron-down' size='xs' color='default' /> <@th>#i18n{appointment.manageAppointments.columnNbBookedSeats} <@aButton href='jsp/admin/plugins/appointment/modules/management/MultiviewAppointment.jsp?view=multiview_appointments&orderBy=nb_seats_int&orderAsc=true' buttonIcon='chevron-up' size='xs' color='default' /> <@aButton href='jsp/admin/plugins/appointment/modules/management/MultiviewAppointment.jsp?view=multiview_appointments&orderBy=nb_seats_int&orderAsc=false' buttonIcon='chevron-down' size='xs' color='default' /> <@th>#i18n{appointment.dateAppointment.title} <@aButton href='jsp/admin/plugins/appointment/modules/management/MultiviewAppointment.jsp?view=multiview_appointments&orderBy=start_date&orderAsc=true' buttonIcon='chevron-up' size='xs' color='default' /> <@aButton href='jsp/admin/plugins/appointment/modules/management/MultiviewAppointment.jsp?view=multiview_appointments&orderBy=start_date&orderAsc=false' buttonIcon='chevron-down' size='xs' color='default' /> <@th>#i18n{appointment.labelStatus} <@aButton href='jsp/admin/plugins/appointment/modules/management/MultiviewAppointment.jsp?view=cancelled&orderBy=start_date&orderAsc=true' buttonIcon='chevron-up' size='xs' color='default' /> <@aButton href='jsp/admin/plugins/appointment/modules/management/MultiviewAppointment.jsp?view=cancelled&orderBy=start_date&orderAsc=false' buttonIcon='chevron-down' size='xs' color='default' /> <@th>#i18n{appointment.manageAppointments.columnState} <@th>#i18n{portal.util.labelActions} <@tableHeadBodySeparator /> <#list appointment_list as appointment > <@tr> <@td>${appointment.categoryTitle} <@td>${appointment.formTitle} <@td>${appointment.lastName} <@td>${appointment.firstName} <@td>${appointment.mail} <@td>${appointment.nbSeats} <@td>${appointment.dateOfTheAppointment} #i18n{appointment.labelFrom} ${appointment.startingTime} #i18n{appointment.labelTo} ${appointment.endingTime} <@td> <#if appointment.cancelled> <@tag color='important'>#i18n{appointment.message.labelStatusUnreserved} <#else> <@tag color='success'>#i18n{appointment.message.labelStatusReserved} <@td>${appointment.stateTitle} <@td> <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=viewAppointment&id_form=${appointment.idForm}&id_appointment=${appointment.idAppointment}' title='#i18n{appointment.manageAppointments.labelViewAppointment}' hideTitle=['all'] buttonIcon='eye' size='sm' params='target="_blank"' /> <#else>#i18n{portal.util.labelNoItem} <@paginationAdmin paginator=paginator combo=1 />