We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d489ee2 commit e8c5836Copy full SHA for e8c5836
src/routes/projects/create.js
@@ -94,6 +94,7 @@ function createProjectAndPhases(req, project, projectTemplate, productTemplates)
94
models.ProjectPhase.create({
95
projectId: newProject.id,
96
name: _.get(phase, 'name', `Stage ${phaseIdx}`),
97
+ duration: _.get(phase, 'duration', 0),
98
status: _.get(phase, 'status', PROJECT_PHASE_STATUS.DRAFT),
99
budget: _.get(phase, 'budget', 0),
100
updatedBy: req.authUser.userId,
0 commit comments