Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-reporting
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-reporting
Commits
d6a4cc91
Commit
d6a4cc91
authored
Apr 18, 2024
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Now showing 0.0 hours as empty string
parent
98178179
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
timesheet-monthly-hours-absences2.tcl
www/timesheet-monthly-hours-absences2.tcl
+2
-0
No files found.
www/timesheet-monthly-hours-absences2.tcl
View file @
d6a4cc91
...
...
@@ -432,6 +432,7 @@ db_foreach sql $sql {
set val
[
set
"hours_
$d
"
]
if
{
""
eq
$val
}
{
set val 0.00
}
set
"hours_
${d}
_formatted"
[
im_report_format_number
[
expr
round
(
100.0 *
$val
)
/ 100.0
]
$output
_format
$number
_locale
]
if
{
0.0 ==
$val
}
{
set
"hours_
${d}
_formatted"
""
}
}
if
{
""
eq
$object
_name
}
{
set object_name
"undefined"
}
...
...
@@ -449,6 +450,7 @@ db_foreach sql $sql {
for
{
set
d 1
}
{
$d
<=
$report
_year_month_days_in_month
}
{
incr
d
}
{
set val
[
set
"hours_
${d}
_subtotal"
]
set
"hours_
${d}
_subtotal_formatted"
[
im_report_format_number
[
expr
round
(
100.0 *
$val
)
/ 100.0
]
$output
_format
$number
_locale
]
if
{
0.0 ==
$val
}
{
set
"hours_
${d}
_subtotal_formatted"
""
}
}
set last_value_list
[
im_report_render_header
\
...
...
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