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
4db93701
Commit
4db93701
authored
May 31, 2016
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-- rounding weekly_hours
parent
93046a68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
index.tcl
www/hours/index.tcl
+1
-1
No files found.
www/hours/index.tcl
View file @
4db93701
...
...
@@ -318,7 +318,7 @@ for { set current_date $first_julian_date} { $current_date <= $last_julian_date
if
{(
$column
_ctr == 7 ||
$current
_date_ansi ==
$last
_day_of_month_ansi
)
&&
$show
_last_confirm_button_p
}
{
append html
"<br>
<a href=
[
export_vars -base
"week"
{{
julian_date
$current
_date
}
user_id_from_search
}]
>
[
_ intranet-timesheet2.Week_total_1
]
$hours
_for_this_week
</a><br>
>
[
_ intranet-timesheet2.Week_total_1
]
[
format
"%.2f"
[
expr
{
double
(
round
(
100*$hours_for_this_week
))
/100
}]]
</a><br>
"
if
{
$current
_date_ansi ==
$last
_day_of_month_ansi
}
{
set show_last_confirm_button_p 0
}
...
...
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