Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-timesheet2-tasks
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-timesheet2-tasks
Commits
5d671f95
Commit
5d671f95
authored
Aug 16, 2007
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- nothing changed
parent
67b5f985
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
intranet-timesheet2-tasks-procs.tcl
tcl/intranet-timesheet2-tasks-procs.tcl
+5
-1
No files found.
tcl/intranet-timesheet2-tasks-procs.tcl
View file @
5d671f95
...
...
@@ -694,6 +694,10 @@ ad_proc im_timesheet_project_advance { project_id } {
Calculate the percentage of advance of the project.
The query get a little bit more complex because we
have to take into account the advance of the subprojects.
This one only works if the current project is a non-task,
and all of its children are tasks.
Otherwise we might have a mixed project
(
translation + consulting
)
.
}
{
db_1row project_advance
"
select
...
...
@@ -722,7 +726,7 @@ ad_proc im_timesheet_project_advance { project_id } {
)
) s
"
db_dml update_project_advance
"
update im_projects
set percent_completed = (:advanced_units::numeric / :planned_units::numeric) * 100
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment