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
047e96ad
Commit
047e96ad
authored
Oct 05, 2005
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Changes @ Opus5
parent
949a3666
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
intranet-hr-procs.tcl
tcl/intranet-hr-procs.tcl
+5
-2
new.tcl
www/new.tcl
+1
-1
No files found.
tcl/intranet-hr-procs.tcl
View file @
047e96ad
...
...
@@ -30,7 +30,7 @@ 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 employee
r
Show some simple information about a employee
}
{
if
{
""
==
$view
_name
}
{
set view_name
"employees_view"
}
ns_log Notice
"im_employee_info_component: employee_id=
$employee
_id, view_name=
$view
_name"
...
...
@@ -62,7 +62,10 @@ ad_proc im_employee_info_component { employee_id return_url {view_name ""} } {
if
{
!
[
im_permission
$current
_user_id view_hr
]}
{
return
""
}
# Finally: Show this component only for employees
if
{
!
[
im_user_is_employee_p
$employee
_id
]}
{
return
""
}
if
{
!
[
im_user_is_employee_p
$employee
_id
]}
{
ns_log Notice
"im_employee_info_component: user is not an employee..."
return
""
}
# --------------- Select all values --------------------------
...
...
www/new.tcl
View file @
047e96ad
...
...
@@ -194,7 +194,7 @@ ad_form \
{
social_security:text
(
text
)
,optional
{
label
$social
_security_label
}
{
html
{
size 10
}}
}
{
insurance:text
(
text
)
,optional
{
label
$insurance
_label
}
{
html
{
size 10
}}
}
{
other_costs:text
(
text
)
,optional
{
label
$other
_cost_label
}
{
html
{
size 10
}}
}
{
currency:text
(
select
)
,optional
{
label
$currency
_label
}
{
options
$currency
_options
}
}
{
currency:text
(
select
)
{
label
$currency
_label
}
{
options
$currency
_options
}
}
{
salary_payments_per_year:text
(
text
)
,optional
{
label
$salary
_payments_per_year_label
}
{
html
{
size 10
}}
}
{
birthdate:text
(
text
)
,optional
{
label
$birthdate
_label
}
{
html
{
size 10
}}
}
...
...
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