forked from mirrors/easyappointments
Added first name initial of customer in table calendar view.
This commit is contained in:
parent
54ef4e34c2
commit
fad8d3630c
1 changed files with 1 additions and 1 deletions
|
@ -670,7 +670,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
|
|||
var eventDuration = Math.round((endDate - startDate) / 60000);
|
||||
|
||||
$event.html(
|
||||
appointment.customer.last_name +
|
||||
appointment.customer.first_name.charAt(0) + '. ' + appointment.customer.last_name +
|
||||
' <span class="hour">' + startDate.toString('HH:mm') + '</span> '
|
||||
+ (eventDuration !== parseInt(appointment.service.duration) ? '(' + eventDuration + '\')' : '')
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue