<@appointmentTabs tab='day' form=appointmentForm context=context> <@messages errors=errors warnings=warnings infos=infos /> <@div class='d-flex justify-content-end mb-2'> <#if permission_add_comment?boolean> <@button id='toggle-add-comment' color='light' size='sm' class='me-1' buttonIcon='message-plus' title='#i18n{appointment.create_comment.pageTitle}' hideTitle=['xs','sm'] params='data-bs-toggle="modal" data-bs-target="#commentModal"' /> <#if activateEditMode> <@button type='button' id='btn-add-desk' color='light' size='sm' buttonIcon='desktop' title='#i18n{module.appointment.desk.manage_appointmentdesks.buttonAdd}' params='data-bs-toggle="modal" data-bs-target="#deskModal"' /> <@div id='ec-calendar'> <@modal id='slottoggle' size='sm'> <@modalHeader modalTitle='#i18n{module.appointment.desk.label.toggleTitle}' /> <@modalBody> <@div class='ms-3'> <@radioButton id='doOpenSlot' name='doManageSlot' value='1' labelKey='#i18n{module.appointment.desk.label.open}' /> <@radioButton id='doCloseSlot' name='doManageSlot' value='0' labelKey='#i18n{module.appointment.desk.label.close}' /> <@div class='text-center'> <@button id='saveSlotState' color='primary' title='#i18n{module.appointment.desk.label.save}' /> <@button id='cancelSlotState' color='light' title='#i18n{module.appointment.desk.label.cancel}' params='data-bs-dismiss="modal"' /> <#if activateEditMode> <@modal id='deskModal'> <@modalHeader modalTitle='#i18n{module.appointment.desk.increment.defaultTitle}' /> <@tform id='form-validate' action='jsp/admin/plugins/appointment/modules/desk/ManageAppointmentDesks.jsp'> <@modalBody> <@input type='hidden' name='action' value='incrementMaxCapacity' /> <@input type='hidden' name='id_form' value='${idForm!}' /> <@input type='hidden' id='day' name='day' value='${day!}' /> <@formGroup labelFor='incrementing_value' labelKey='#i18n{module.appointment.desk.increment.labelIncrementingValue}' helpKey='${formGroupHelpKey!}' mandatory=true> <@input type='number' name='incrementing_value' id='incrementing_value' value='1' min=1 max=10 /> <@formGroup labelFor='type' labelKey='#i18n{module.appointment.desk.increment.labelType}'> <@select name='type' id='type' items=list_types default_value='' /> <@formGroup labelFor='startingDate' labelKey='#i18n{module.appointment.desk.increment.labelStartingDate}'> <@input type='text' name='starting_date' id='startingDate' value='${day!}' /> <@formGroup labelFor='startingTime' labelKey='#i18n{module.appointment.desk.increment.labelStartingTime}'> <@input type='text' name='starting_time' id='startingTime' value='' /> <@formGroup labelFor='endingDate' labelKey='#i18n{module.appointment.desk.increment.labelEndingDate}'> <@input type='text' name='ending_date' id='endingDate' value='${day!}' /> <@formGroup labelFor='endingTime' labelKey='#i18n{module.appointment.desk.increment.labelEndingTime}'> <@input type='text' name='ending_time' id='endingTime' value='' /> <@modalFooter> <@button type='button' color='light' title='#i18n{module.appointment.desk.label.cancel}' params='data-bs-dismiss="modal"' /> <@button type='submit' name='save' id='save' buttonIcon='check' title='#i18n{module.appointment.desk.increment.labelValidate}' /> <@getCommentModal 'commentModal' '#i18n{appointment.create_comment.pageTitle}' "comment" "startingValidityDate" "endingValidityDate" "idStartingTime" "idEndingTime" "doAddComment" idForm mailing_list locale "appointmentdesk" '${context!}-${day!}' /> <@getCommentModal 'modify-comment' '#i18n{appointment.modify_comment.pageTitle}' "modifyComment" "modifyStartingValidityDate" "modifyEndingValidityDate" "idModifyStartingTime" "idModifyEndingTime" "doModifyComment" idForm mailing_list locale "appointmentdesk" '${context!}-${day!}' /> <#include "/admin/util/editor/editor.html" /> <@initEditor type='comment' />