Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-resource-management
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-resource-management
Commits
771077b4
Commit
771077b4
authored
Dec 10, 2012
by
lippok-wolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-- if no value for employee availability found we assume 100%
parent
0913b0ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
intranet-resource-management-procs.tcl
tcl/intranet-resource-management-procs.tcl
+4
-0
No files found.
tcl/intranet-resource-management-procs.tcl
View file @
771077b4
...
...
@@ -1031,6 +1031,10 @@ ad_proc -public im_resource_mgmt_resource_planning {
ns_log NOTICE
"intranet-resource-management-procs::eval_user_percentage_list ------------------------------- START: project_id:
$project
_id --------------------------------------"
db_foreach user_list_sql
$user
_sql
{
# If no availability, we assume 100%
if
{
""
==
$availability
}
{
set availability 100
}
set total_user_percentages
[
expr
$total
_user_percentages +
$user
_percentage
]
lappend user_percentage_list
[
list
$user
_id
$user
_percentage
$availability
]
ns_log NOTICE
"intranet-resource-management-procs::eval_user_percentage_list::user_id:
$user
_id"
...
...
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