Set minimum service duration field value to honor the value of EVENT_MINIMUM_DURATION. #1068

This commit is contained in:
Alex Tselegidis 2021-07-19 16:59:21 +03:00
parent d09fbb0ad6
commit 9ddc820176
3 changed files with 4 additions and 1 deletions

View File

@ -116,7 +116,7 @@
<?= lang('duration_minutes') ?>
<span class="text-danger">*</span>
</label>
<input id="service-duration" class="form-control required" type="number" min="5">
<input id="service-duration" class="form-control required" type="number" min="<?= EVENT_MINIMUM_DURATION ?>">
</div>
<div class="form-group">

View File

@ -427,6 +427,7 @@ body legend {
#calendar .fc-event {
border: 1px solid #4790CA;
background-color: #4790CA;
min-height: 12px;
}
#existing-customers-list {

View File

@ -1413,7 +1413,9 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
height: getCalendarHeight(),
editable: true,
firstDay: firstWeekdayNumber,
slotDuration: '00:15:00',
snapDuration: '00:15:00',
slotLabelInterval: '01:00',
timeFormat: timeFormat,
slotLabelFormat: slotTimeFormat,
allDayText: EALang.all_day,