Set minimum service duration field value to honor the value of EVENT_MINIMUM_DURATION. #1068
This commit is contained in:
parent
d09fbb0ad6
commit
9ddc820176
3 changed files with 4 additions and 1 deletions
|
@ -116,7 +116,7 @@
|
||||||
<?= lang('duration_minutes') ?>
|
<?= lang('duration_minutes') ?>
|
||||||
<span class="text-danger">*</span>
|
<span class="text-danger">*</span>
|
||||||
</label>
|
</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>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|
|
@ -427,6 +427,7 @@ body legend {
|
||||||
#calendar .fc-event {
|
#calendar .fc-event {
|
||||||
border: 1px solid #4790CA;
|
border: 1px solid #4790CA;
|
||||||
background-color: #4790CA;
|
background-color: #4790CA;
|
||||||
|
min-height: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#existing-customers-list {
|
#existing-customers-list {
|
||||||
|
|
|
@ -1413,7 +1413,9 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
|
||||||
height: getCalendarHeight(),
|
height: getCalendarHeight(),
|
||||||
editable: true,
|
editable: true,
|
||||||
firstDay: firstWeekdayNumber,
|
firstDay: firstWeekdayNumber,
|
||||||
|
slotDuration: '00:15:00',
|
||||||
snapDuration: '00:15:00',
|
snapDuration: '00:15:00',
|
||||||
|
slotLabelInterval: '01:00',
|
||||||
timeFormat: timeFormat,
|
timeFormat: timeFormat,
|
||||||
slotLabelFormat: slotTimeFormat,
|
slotLabelFormat: slotTimeFormat,
|
||||||
allDayText: EALang.all_day,
|
allDayText: EALang.all_day,
|
||||||
|
|
Loading…
Reference in a new issue