mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 01:52:22 +03:00
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);
|
var eventDuration = Math.round((endDate - startDate) / 60000);
|
||||||
|
|
||||||
$event.html(
|
$event.html(
|
||||||
appointment.customer.last_name +
|
appointment.customer.first_name.charAt(0) + '. ' + appointment.customer.last_name +
|
||||||
' <span class="hour">' + startDate.toString('HH:mm') + '</span> '
|
' <span class="hour">' + startDate.toString('HH:mm') + '</span> '
|
||||||
+ (eventDuration !== parseInt(appointment.service.duration) ? '(' + eventDuration + '\')' : '')
|
+ (eventDuration !== parseInt(appointment.service.duration) ? '(' + eventDuration + '\')' : '')
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue