Add customer email and phone number in the event popover of the backend/calendar page. #122

This commit is contained in:
alext 2017-11-15 23:53:59 +01:00
parent 049884d409
commit f009e73b44

View file

@ -326,6 +326,12 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
'<strong>' + EALang.customer + '</strong> ' '<strong>' + EALang.customer + '</strong> '
+ event.data.customer.first_name + ' ' + event.data.customer.first_name + ' '
+ event.data.customer.last_name + event.data.customer.last_name
+ '<br>' +
'<strong>' + EALang.email + '</strong> '
+ event.data.customer.email
+ '<br>' +
'<strong>' + EALang.provider + '</strong> '
+ event.data.customer.phone_number
+ '<hr>' + + '<hr>' +
'<div class="text-center">' + '<div class="text-center">' +
'<button class="edit-popover btn btn-primary ' + displayEdit + '">' + EALang.edit + '</button>' + '<button class="edit-popover btn btn-primary ' + displayEdit + '">' + EALang.edit + '</button>' +