mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 07:52:29 +03:00
Merge pull request #824 from popod/customers-appointment-details-fix
Fix appointment details display in customers page
This commit is contained in:
commit
e055223f8f
1 changed files with 3 additions and 1 deletions
|
@ -473,6 +473,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/>', {
|
||||||
|
@ -484,7 +486,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