diff --git a/assets/js/utils/calendar_default_view.js b/assets/js/utils/calendar_default_view.js index 8bae4ec2..c0a03034 100755 --- a/assets/js/utils/calendar_default_view.js +++ b/assets/js/utils/calendar_default_view.js @@ -387,8 +387,19 @@ App.Utils.CalendarDefaultView = (function () { endDateTimeObject = new Date(info.event.extendedProps.data.end_datetime); } + const provider = info.event.extendedProps.data.provider; + $html = $('
', { 'html': [ + $('', { + 'class': 'd-inline-block me-2', + 'text': lang('provider'), + }), + $('', { + 'text': `${provider.first_name} ${provider.last_name}`, + }), + $('
'), + $('', { 'class': 'd-inline-block me-2', 'text': lang('start'), @@ -1343,7 +1354,6 @@ App.Utils.CalendarDefaultView = (function () { editable: false, display: 'background', className: 'fc-unavailability', - display: 'block', }; calendarEventSource.push(unavailabilityEvent); @@ -1371,7 +1381,6 @@ App.Utils.CalendarDefaultView = (function () { editable: false, display: 'background', className: 'fc-unavailability', - display: 'block', }; calendarEventSource.push(unavailabilityEvent); @@ -1395,7 +1404,6 @@ App.Utils.CalendarDefaultView = (function () { editable: false, display: 'background', className: 'fc-unavailability', - display: 'block', }; calendarEventSource.push(unavailabilityEvent); @@ -1422,7 +1430,6 @@ App.Utils.CalendarDefaultView = (function () { editable: false, display: 'background', className: 'fc-unavailability fc-break', - display: 'block', }; calendarEventSource.push(unavailabilityEvent); diff --git a/assets/js/utils/calendar_table_view.js b/assets/js/utils/calendar_table_view.js index ab2026e9..ef05fa79 100755 --- a/assets/js/utils/calendar_table_view.js +++ b/assets/js/utils/calendar_table_view.js @@ -785,7 +785,6 @@ App.Utils.CalendarTableView = (function () { end: end, allDay: false, color: '#BEBEBE', - display: 'block', editable: false, display: 'background', className: 'fc-unavailability', @@ -807,7 +806,6 @@ App.Utils.CalendarTableView = (function () { end: workDateStart.toDate(), allDay: false, color: '#BEBEBE', - display: 'block', editable: false, display: 'background', className: 'fc-unavailability', @@ -826,7 +824,6 @@ App.Utils.CalendarTableView = (function () { end: end.toDate(), allDay: false, color: '#BEBEBE', - display: 'block', editable: false, display: 'background', className: 'fc-unavailability', @@ -849,7 +846,6 @@ App.Utils.CalendarTableView = (function () { end: breakEnd.toDate(), allDay: false, color: '#BEBEBE', - display: 'block', editable: false, display: 'background', className: 'fc-unavailability fc-break', @@ -1124,8 +1120,19 @@ App.Utils.CalendarTableView = (function () { endDateTimeObject = new Date(info.event.extendedProps.data.end_datetime); } + const provider = info.event.extendedProps.data.provider; + $html = $('
', { 'html': [ + $('', { + 'class': 'd-inline-block me-2', + 'text': lang('provider'), + }), + $('', { + 'text': `${provider.first_name} ${provider.last_name}`, + }), + $('
'), + $('', { 'class': 'd-inline-block me-2', 'text': lang('start'),