Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-timesheet2
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
1
Merge Requests
1
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
Commits
dc112820
Commit
dc112820
authored
Aug 13, 2005
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixed weekly_report infinite loop
parent
89c1390b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
14 deletions
+8
-14
weekly_report.tcl
www/weekly_report.tcl
+8
-14
No files found.
www/weekly_report.tcl
View file @
dc112820
...
...
@@ -135,27 +135,21 @@ if { $start_at == "" && $project_id != 0 } {
"
-default
""
]
set todays_date
[
db_string todays_date
"
select to_char(now() :date_format)
select to_char(now()
,
:date_format)
from dual
"
-default
""
]
set start_date
$hours
_start_date
if
{
""
==
$start
_date
}
{
set start_date
$project
_start_date
ad_return_complaint 1 project_start_date
}
else
{
ad_return_complaint 1 hours_start_date
set start_at
$hours
_start_date
if
{
""
==
$start
_at
}
{
set start_at
$project
_start_date
}
if
{
""
==
$start
_date
}
{
set start_date
$todays
_date
if
{
""
==
$start
_at
}
{
set start_at
$todays
_date
ad_return_complaint 1 todays_date
}
if
{
$start
_at ==
""
}
{
if
{
""
==
$start
_at
}
{
ad_return_complaint 1
"Unable to determine start date for project
\#
$project
_id:<br>
please set the 'Start Date' of the project"
.
please set the 'Start Date' of the project"
return
}
...
...
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