Merge pull request #824 from popod/customers-appointment-details-fix

Fix appointment details display in customers page
This commit is contained in:
Alex Tselegidis 2020-08-15 15:30:40 +03:00 committed by GitHub
commit e055223f8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -473,6 +473,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/>', {
@ -484,7 +486,7 @@
}),
$('<br/>'),
$('<span/>', {
'text': appointment.provider.first_name + ' ' + appointment.provider.last_name
'text': start + ' - ' + end
}),
$('<br/>'),
$('<span/>', {