mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 07:52:29 +03:00
Fix appointment details display.
This commit is contained in:
parent
e857d3a37e
commit
1e1764436b
1 changed files with 3 additions and 1 deletions
|
@ -470,6 +470,8 @@
|
||||||
var end = GeneralFunctions.formatDate(Date.parse(appointment.end_datetime), GlobalVariables.dateFormat, true);
|
var end = GeneralFunctions.formatDate(Date.parse(appointment.end_datetime), GlobalVariables.dateFormat, true);
|
||||||
var timezone = GlobalVariables.timezones[GlobalVariables.user.timezone];
|
var timezone = GlobalVariables.timezones[GlobalVariables.user.timezone];
|
||||||
|
|
||||||
|
$('#appointment-details').empty();
|
||||||
|
|
||||||
$('<div/>', {
|
$('<div/>', {
|
||||||
'html': [
|
'html': [
|
||||||
$('<strong/>', {
|
$('<strong/>', {
|
||||||
|
@ -481,7 +483,7 @@
|
||||||
}),
|
}),
|
||||||
$('<br/>'),
|
$('<br/>'),
|
||||||
$('<span/>', {
|
$('<span/>', {
|
||||||
'text': appointment.provider.first_name + ' ' + appointment.provider.last_name
|
'text': start + ' - ' + end
|
||||||
}),
|
}),
|
||||||
$('<br/>'),
|
$('<br/>'),
|
||||||
$('<span/>', {
|
$('<span/>', {
|
||||||
|
|
Loading…
Reference in a new issue