From 1e1764436b1b1e249e8e9740772c48380491860c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81bastien?= Date: Fri, 19 Jun 2020 13:56:02 +0200 Subject: [PATCH] Fix appointment details display. --- assets/js/backend_customers_helper.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/js/backend_customers_helper.js b/assets/js/backend_customers_helper.js index 9956d2fd..dfd26abb 100644 --- a/assets/js/backend_customers_helper.js +++ b/assets/js/backend_customers_helper.js @@ -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(); + $('
', { 'html': [ $('', { @@ -481,7 +483,7 @@ }), $('
'), $('', { - 'text': appointment.provider.first_name + ' ' + appointment.provider.last_name + 'text': start + ' - ' + end }), $('
'), $('', {