Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
timesheet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dotproject
timesheet
Commits
31b0cd18
Commit
31b0cd18
authored
Dec 09, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Write hint to check this in future.
parent
671e0a07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
timesheet.class.php
timesheet.class.php
+4
-2
No files found.
timesheet.class.php
View file @
31b0cd18
...
...
@@ -111,7 +111,7 @@ class CTimesheet extends CDpObject {
$amount
=
0
;
foreach
(
$tasks
as
$item
)
{
// Query the task_log table for actual start dates.
// Query the task_log table for actual start dates.
$t
->
addQuery
(
'task_log_id'
);
$t
->
addQuery
(
'task_log_name'
);
$t
->
addQuery
(
'task_log_creator'
);
...
...
@@ -137,7 +137,7 @@ class CTimesheet extends CDpObject {
}
$sheet
=
new
DBQuery
();
$sheet
->
addTable
(
'timesheet_project'
);
$sheet
->
addInsert
(
'timesheet_id,timesheet_project,timesheet_project_amount'
,
$sheet
->
addInsert
(
'timesheet_id,timesheet_project,timesheet_project_amount'
,
$this
->
timesheet_id
.
','
.
$row
[
"project_id"
]
.
','
.
$amount
,
true
);
if
(
!
$sheet
->
exec
())
{
echo
db_error
();
...
...
@@ -196,6 +196,8 @@ class CTimesheet extends CDpObject {
if
(
!
$q
->
exec
())
{
return
db_error
();
}
// Why is this needed ??
echo
$q
;
if
(
$stat
>
0
)
{
$this
->
project_purge
();
$this
->
project_store
();
...
...
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