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
f5e1f8b4
Commit
f5e1f8b4
authored
Mar 07, 2024
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nothing changed
parent
28afd1b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
timesheet-finance.adp
www/timesheet-finance.adp
+9
-0
timesheet-finance.tcl
www/timesheet-finance.tcl
+3
-0
No files found.
www/timesheet-finance.adp
View file @
f5e1f8b4
...
...
@@ -50,6 +50,15 @@
<%= [im_employee_select_multiple -limit_to_cc_id $department_id employee_id $employee_id 6 multiple] %>
</td>
</tr>
<!--
<tr>
<td class=form-label><nobr><%= [lang::message::lookup "" intranet-reporting.Number_Format "Number Format"] %></nobr></td>
<td class=form-widget>
<%= [im_report_number_locale_select number_locale $number_locale] %>
</td>
</tr>
-->
<tr>
<td class=form-label></td>
<td class=form-widget><input type="submit" value="Submit"></td>
...
...
www/timesheet-finance.tcl
View file @
f5e1f8b4
...
...
@@ -12,6 +12,7 @@ ad_page_contract {
{
start_date
""
}
{
end_date
""
}
{
output_format
"html"
}
{
number_locale
""
}
{
project_id:integer 0
}
{
customer_id:integer 0
}
{
department_id:integer 0
}
...
...
@@ -100,6 +101,8 @@ if {0 == $employee_id} { set employee_id [db_list emp_list "select employee_id f
if
{[
llength
$opened
_projects
]
== 0
}
{
set opened_projects
[
list
0
]
}
# Default is user locale
if
{
""
==
$number
_locale
}
{
set number_locale
[
lang::user::locale
]
}
# Check that Start & End-Date have correct format
if
{
""
!=
$start
_date && !
[
regexp
{
^
[
0-9
][
0-9
][
0-9
][
0-9
]
\-
[
0-9
][
0-9
]
\-
[
0-9
][
0-9
]
$
}
$start
_date
]}
{
...
...
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