mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-21 23:42:21 +03:00
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') ?>
|
||||
<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">
|
||||
|
|
|
@ -427,6 +427,7 @@ body legend {
|
|||
#calendar .fc-event {
|
||||
border: 1px solid #4790CA;
|
||||
background-color: #4790CA;
|
||||
min-height: 12px;
|
||||
}
|
||||
|
||||
#existing-customers-list {
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue