Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-timesheet2-workflow
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-workflow
Commits
61812e17
Commit
61812e17
authored
Feb 22, 2008
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed timesheet bugs
parent
c6721e5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
32 deletions
+0
-32
intranet-timesheet2-workflow-procs.tcl
tcl/intranet-timesheet2-workflow-procs.tcl
+0
-32
No files found.
tcl/intranet-timesheet2-workflow-procs.tcl
View file @
61812e17
...
...
@@ -272,38 +272,6 @@ ad_proc -public im_timesheet_conf_object_delete {
}
ad_proc -public im_timesheet_costs_delete
{
-project_id
-user_id
-day_julian
}
{
Delete any cost items related to hours logged for the specified project
and day.
}
{
set del_cost_ids
[
db_list del_cost_ids
"
select h.cost_id
from im_hours h
where h.project_id = :project_id
and h.user_id = :user_id
and h.day = to_date(:day_julian, 'J')
"
]
set ctr 0
foreach cost_id
$del
_cost_ids
{
db_dml update_hours
"
update im_hours
set cost_id = null
where cost_id = :cost_id
"
db_string del_ts_costs
"select im_cost__delete(:cost_id)"
incr ctr
}
return
$ctr
}
# ---------------------------------------------------------------------
# Timesheet Confirmation Object - Workflow Permissions
...
...
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