Fix appointment details display.

This commit is contained in:
Sébastien 2020-06-19 13:56:02 +02:00
parent e857d3a37e
commit 1e1764436b

View file

@ -470,6 +470,8 @@
var end = GeneralFunctions.formatDate(Date.parse(appointment.end_datetime), GlobalVariables.dateFormat, true);
var timezone = GlobalVariables.timezones[GlobalVariables.user.timezone];
$('#appointment-details').empty();
$('<div/>', {
'html': [
$('<strong/>', {
@ -481,7 +483,7 @@
}),
$('<br/>'),
$('<span/>', {
'text': appointment.provider.first_name + ' ' + appointment.provider.last_name
'text': start + ' - ' + end
}),
$('<br/>'),
$('<span/>', {