Skip to content
Snippets Groups Projects
Commit 6d44c240 authored by Carlos Vega's avatar Carlos Vega
Browse files

there is no point in setting appointment in the past

parent 1272cc89
No related branches found
No related tags found
1 merge request!189Issue #275 Added read-only daily planning view below new appointment form.
......@@ -144,7 +144,7 @@ New appointment for visit from {{visit_start}} to {{visit_end}}
//SIDE CALENDAR
addDailyPlanningCalendar('#side_calendar', true, {
schedulerLicenseKey: 'CC-Attribution-NonCommercial-NoDerivatives',
defaultDate: moment('{{visit_start}}'),
defaultDate: moment.max(moment('{{visit_start}}'), moment()),
editable: false,
header: {
left: 'prev,next today',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment