<@appointmentTabs tab='year' form=appointmentform context='slot'> <@row> <@columns sm=10> <@div id="calendar"> <@columns sm=2> <@p class='border-bottom pb-3 mb-3'> <@span class='d-inline-block align-middle rounded-circle bg-secondary' params='style="width:20px;height:20px"'> #i18n{appointment.annual.label.daySpecifity} <@ul class='list-unstyled'> <#list listReservationRule as rule> <@li class='py-2'> <@aButton color='outline-primary justify-content-start px-2 w-100 text-wrap' href='jsp/admin/plugins/appointment/ManageAppointmentSlots.jsp?view=manageTypicalWeek&id_form=${id_form}&id_reservation_rule=${rule.idReservationRule}' params='style="border-color:${rule.color!};"'> <@icon style='circle-filled me-2 fs-4' params='style="color:${rule.color!};"' /> ${rule.name} <@modal id='event-modal' size='md'> <@modalHeader modalTitle='#i18n{appointment.assign.typicalWeek.defaultTitle}' /> <@modalBody> <@tform id='form-validate' action='jsp/admin/plugins/appointment/ManageAnnualCalendar.jsp' enctype='multipart/form-data'> <@input type='hidden' name='action' value='doAssignWeek' /> <@input type='hidden' name='id_form' value='${id_form}' /> <@input type='hidden' name='id_week_definition' value='' /> <@formGroup labelFor='date_of_apply' labelKey='#i18n{appointment.manageAppointments.startingDateOfSearch}' rows=2> <@input type='date' name='date_of_apply' id='date_of_apply' value='' format='Y-m-d' /> <@formGroup labelFor='ending_date_of_apply' labelKey='#i18n{appointment.manageAppointments.endingDateOfSearch}' rows=2> <@input type='date' name='ending_date_of_apply' id='ending_date_of_apply' value='' format='Y-m-d' /> <@formGroup labelFor='id_reservation_rule' labelKey='#i18n{appointment.week.toApplay}' rows=2> <@select name='id_reservation_rule' id='id_reservation_rule'> <#list listReservationRule as rule> <@option value=rule.idReservationRule label=rule.name /> <@formGroup rows=2> <@button type='submit' name='save' id='save' buttonIcon='check' title='#i18n{appointment.labelSave}' /> <@button type='submit' name='delete' id='delete' title='#i18n{portal.util.labelDelete}' buttonIcon='trash' color='danger' /> <@button type='button' params='data-bs-dismiss="modal"' title='#i18n{portal.util.labelCancel}' buttonIcon='times' color='default' />