Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-hr
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-hr
Commits
d2f1066b
Commit
d2f1066b
authored
Sep 20, 2004
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- set default view_name from im_employee_info_component
parent
8f60901b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
intranet-hr-procs.tcl
tcl/intranet-hr-procs.tcl
+4
-2
No files found.
tcl/intranet-hr-procs.tcl
View file @
d2f1066b
...
...
@@ -32,10 +32,12 @@ ad_proc -public im_employee_status_past {} { return 455 }
ad_proc im_employee_info_component
{
employee_id return_url
{
view_name
""
}
}
{
Show some simple information about a employeer
}
{
if
{
""
==
$view
_name
}
{
set view_name
"employees_view"
}
ns_log Notice
"im_employee_info_component: employee_id=
$employee
_id, view_name=
$view
_name"
set current_user_id
[
ad_get_user_id
]
if
{
""
==
$view
_name
}
{
set view_name
"employees_view"
}
# ad_return_complaint 1 " im_employee_info-component"
set department_url
"/intranet/intranet-cost/cost_centers/view?cost_center_id="
set user_url
"/intranet/users/view?user_id="
...
...
@@ -129,5 +131,5 @@ ad_proc im_employee_info_component { employee_id return_url {view_name ""} } {
}
append employee_html
"</table></form>
\n
"
return
$employee
_html
return
[
im_table_with_title
"Employee Information"
$employee
_html
]
}
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