Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

add ignore non-working days while selecting a date on calendar

bsatarnejad050d4d145f58
diff --git a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts
index eedfb0fae90..a5564a743dd 100644
--- a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts
+++ b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts
@@ -771,7 +771,7 @@ export class TeamPlannerComponent extends UntilDestroyedMixin implements OnInit,
'document:teamPlannerSelectDate',
['$event.detail.start', '$event.detail.end', '$event.detail.assignee'],
)
- openNewSplitCreate(start:string, end:string, resourceHref:string):void {
+ openNewSplitCreate(start:string, end:string, resourceHref:string, nonWorkingDays:boolean):void {
const defaults = {
startDate: start,
dueDate: end,
@@ -780,6 +780,7 @@ export class TeamPlannerComponent extends UntilDestroyedMixin implements OnInit,
href: resourceHref,
},
},
+ nonWorkingDays,
};
void this.$state.go(