<#include "/admin/plugins/appointment/appointment/appointment_export.html" /> <@row> <@columns> <@appointmentTabs tab='filter' form=form context='app' > <@tform name='form' id='form' action='jsp/admin/plugins/appointment/ManageAppointments.jsp'> <@input type='hidden' name='view' value='manageAppointments' /> <@input type='hidden' name='id_form' value='${form.idForm}' /> <@div align='right' params=' style="margin-bottom: 15px;"'> <@button style='card-control collapse' buttonTargetId='#searchAppointment' title='#i18n{appointment.manageAppointments.labelSearch}' hideTitle=['xs','sm'] buttonIcon='search' size='sm' /> <#if rightDelete?? && rightDelete> <@button type='submit' id='eraseAll' name='eraseAll' value='eraseAll' disabled=true buttonIcon='trash' title='#i18n{appointment.permission.label.deleteMassAppointment}' color='danger' size='sm' /> <@aButton params='data-toggle="modal" data-target="#export_modal"' buttonIcon='download' title='#i18n{appointment.permission.label.exportMassAppointment}' size='sm' /> <@div class='container' id='searchAppointment' params='style="margin-bottom:50px;"'> <@fieldSet legend='#i18n{appointment.manageAppointments.labelSearch}'> <@row> <@columns md=3> <@formGroup labelFor='lastName' labelKey='${formMessages.fieldLastNameTitle}' rows=2> <@input type='text' id='lastName' name='lastName' value='${filter.lastName!}' /> <@columns md=3> <@formGroup labelFor='firstName' labelKey='${formMessages.fieldFirstNameTitle}' rows=2> <@input type='text' id='firstName' name='firstName' value='${filter.firstName!}'/> <@columns md=3> <@formGroup labelFor='email' labelKey='${formMessages.fieldEmailTitle}' rows=2> <@input type='text' id='email' name='email' value='${filter.email!}' /> <@columns md=3> <@formGroup labelFor='status' labelKey='#i18n{appointment.labelStatus}' rows=2> <@select name='status' id='status' items=listStatus default_value='${filter.status!}' /> <@row id='dates'> <@columns md=3> <@formGroup labelFor='startingDateOfSearch' labelKey='#i18n{appointment.manageAppointments.startingDateOfSearch}' rows=2> <@inputGroup> <@input type='text' name='startingDateOfSearch' id='startingDateOfSearch' value='${filter.startingDateOfSearch!}' /> <@inputGroupItem type='text'> <@icon style='calendar' /> <@columns md=3> <@formGroup labelFor='startingTimeOfSearch' labelKey='#i18n{appointment.labelTo}' rows=2> <@inputGroup> <@input type='text' name='startingTimeOfSearch' id='startingTimeOfSearch' value='${filter.startingTimeOfSearch!\'\'}' /> <@inputGroupItem type='text'> <@icon style='clock-o' /> <@columns md=3> <@formGroup labelFor='endingDateOfSearch' labelKey='#i18n{appointment.manageAppointments.endingDateOfSearch}' rows=2> <@inputGroup> <@input type='text' name='endingDateOfSearch' id='endingDateOfSearch' value='${filter.endingDateOfSearch!}' /> <@inputGroupItem type='text'> <@icon style='calendar' /> <@columns md=3> <@formGroup labelFor='endingTimeOfSearch' labelKey='#i18n{appointment.labelTo}' rows=2> <@inputGroup> <@input type='text' name='endingTimeOfSearch' id='endingTimeOfSearch' value='${filter.endingTimeOfSearch!\'\'}' /> <@inputGroupItem type='text'> <@icon style='clock-o' /> <@row id='error_messages_container' params='style="display:none;"'> <@alert color='danger' id='error_message'> <@formGroup labelKey=' ' rows=2> <@button name='Search' type='submit' title='#i18n{appointment.manageAppointments.labelSearch}' buttonIcon='search' /> <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}&reset=\'true\'' title='#i18n{appointment.displayAppointmentForm.labelReset}' name='Reset' buttonIcon='undo' /> <#if appointment_list?? && appointment_list?size > 0> <@table> <@checkBox name='allcheck' id='allCheck' title='#i18n{appointment.appointmentApp.infos}' /> #i18n{appointment.manageAppointments.columnLastName} <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}&orderBy=last_name&orderAsc=true' buttonIcon='chevron-up' size='xs' color='default' /> <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}&orderBy=last_name&orderAsc=false' buttonIcon='chevron-down' size='xs' color='default' /> #i18n{appointment.manageAppointments.columnFirstName} <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}&orderBy=first_name&orderAsc=true' buttonIcon='chevron-up' size='xs' color='default' /> <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}&orderBy=first_name&orderAsc=false' buttonIcon='chevron-down' size='xs' color='default' /> #i18n{appointment.manageAppointments.columnEmail} <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}&orderBy=email&orderAsc=true' buttonIcon='chevron-up' size='xs' color='default' /> <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}&orderBy=email&orderAsc=false' buttonIcon='chevron-down' size='xs' color='default' /> #i18n{appointment.manageAppointments.columnNbBookedSeats} <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}&orderBy=nbBookedSeats&orderAsc=true' buttonIcon='chevron-up' size='xs' color='default' /> <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}&orderBy=nbBookedSeats&orderAsc=false' buttonIcon='chevron-down' size='xs' color='default' /> #i18n{appointment.dateAppointment.title} <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}&orderBy=date_appointment&orderAsc=true' buttonIcon='chevron-up' size='xs' color='default' /> <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}&orderBy=date_appointment&orderAsc=false' buttonIcon='chevron-down' size='xs' color='default' /> #i18n{appointment.manageAppointments.columnAdmin} <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}&orderBy=admin&orderAsc=true' buttonIcon='chevron-up' size='xs' color='default' /> <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}&orderBy=admin&orderAsc=false' buttonIcon='chevron-down' size='xs' color='default' /> #i18n{appointment.labelStatus} <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}&orderBy=status&orderAsc=true' buttonIcon='chevron-up' size='xs' color='default' /> <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}&orderBy=status&orderAsc=false' buttonIcon='chevron-down' size='xs' color='default' /> #i18n{appointment.manageAppointments.columnState} <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}&orderBy=state&orderAsc=true' buttonIcon='chevron-up' size='xs' color='default' /> <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=manageAppointments&id_form=${form.idForm}&orderBy=state&orderAsc=false' buttonIcon='chevron-down' size='xs' color='default' /> #i18n{portal.util.labelActions} <#list appointment_list as appointment > <@checkBox name='apmt' id='apmt'+appointment?index value='${appointment.idAppointment}' /> ${appointment.lastName} ${appointment.firstName} ${appointment.email} ${appointment.nbBookedSeats} ${appointment.dateOfTheAppointment} #i18n{appointment.labelFrom} ${appointment.startingTime} #i18n{appointment.labelTo} ${appointment.endingTime} ${appointment.adminUser} <#if appointment.isCancelled> <@tag color='danger'>#i18n{appointment.message.labelStatusUnreserved} <#else> <@tag color='success'>#i18n{appointment.message.labelStatusReserved} <#if appointment.state?? && appointment.state.name??> ${appointment.state.name!} <#if rightView?? && rightView> <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=viewAppointment&id_form=${form.idForm}&id_appointment=${appointment.idAppointment}' title='#i18n{appointment.manageAppointments.labelViewAppointment}' hideTitle=['all'] buttonIcon='eye' size='sm' /> <#if appointment.listWorkflowActions?? && appointment.listWorkflowActions?size > 0> <#list appointment.listWorkflowActions as action> <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?view=viewWorkflowActionForm&id_action=${action.id}&id_appointment=${appointment.idAppointment}' size='sm'> width="${action.icon.width}" <#if action.icon.height!=-1> height="${action.icon.height}"title="${action.name}" alt="${action.name}" /> <#if activateWorkflow == "true" > <#if rightChangeStatus> <#if appointment.isCancelled> <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?action=doChangeAppointmentStatus&id_appointment=${appointment.idAppointment}&status_cancelled=true' title='#i18n{appointment.manageAppointments.labelValidateAppointment}' hideTitle=['all'] buttonIcon='check' size='sm' /> <#if !appointment.isCancelled> <@aButton href='jsp/admin/plugins/appointment/ManageAppointments.jsp?action=doChangeAppointmentStatus&id_appointment=${appointment.idAppointment}&status_cancelled=true' title='#i18n{appointment.labelCancelAppointment}' hideTitle=['all'] buttonIcon='close' size='sm' /> <#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}' hideTitle=['all'] buttonIcon='trash' size='sm' color='danger' /> <#else>#i18n{portal.util.labelNoItem} <@paginationAdmin paginator=paginator combo=1 form=0 /> <@getDatePickerBootstrap idField="dateAppointment" language=language />