If there is an appointment without a selected time slot, do not generate
a time option for the select dropdown based on the current time.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
cs_slot = appointment;
cs_slot_id = appointment.id;
cs_date = date.format(ctx.parse_datetime(appointment.slot),'%F');
- cs_time = date.format(ctx.parse_datetime(appointment.slot),'%T');
+ IF appointment.slot; cs_time = date.format(ctx.parse_datetime(appointment.slot),'%T'); END;
cs_notes = appointment.notes;
END %]
<form class="egtr" method="POST">