feat: add CollaboratorPicker component and integrate into CollaboratorScheduleSummaryFlow
- Implemented CollaboratorPicker for selecting employees with support for single and multiple selections. - Created CollaboratorScheduleSummaryFlow to display collaborator schedules and exceptions. - Added ServicePublicationFlow for managing service visibility on public pages. - Introduced CSS styles for ServicePrivate component to enhance UI.
This commit is contained in:
@@ -9,6 +9,8 @@ import {
|
||||
PaginateSchedulesResults,
|
||||
CollaboratorSchedulesView,
|
||||
FindSchedulesParams,
|
||||
ScheduleApplyParams,
|
||||
ScheduleApplyResult,
|
||||
} from "../../Models/Schedules/Schedules.Interface";
|
||||
|
||||
export class SchedulesService {
|
||||
@@ -26,6 +28,12 @@ export class SchedulesService {
|
||||
await ScheduleList.updateSchedule(data);
|
||||
}
|
||||
|
||||
public async applyScheduleChanges(data: ScheduleApplyParams): Promise<ScheduleApplyResult> {
|
||||
await connect(`${process.env.DATABASE_CONNECTION}`);
|
||||
|
||||
return await ScheduleList.applyScheduleChanges(data);
|
||||
}
|
||||
|
||||
public async deleteSchedule(data: DeleteScheduleParams): Promise<void> {
|
||||
await connect(`${process.env.DATABASE_CONNECTION}`);
|
||||
await ScheduleList.delete(data);
|
||||
|
||||
Reference in New Issue
Block a user