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
8fa1e60d
Commit
8fa1e60d
authored
Nov 25, 2004
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- changes at Opus5
- Fixed a lot with Forums - Added Hours Matrix and fixed < > in Timehseet
parent
7a8e2064
Pipeline
#18
failed with stages
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
intranet-hr-create.sql
sql/oracle/intranet-hr-create.sql
+4
-4
intranet-hr-procs.tcl
tcl/intranet-hr-procs.tcl
+1
-1
new.tcl
www/new.tcl
+4
-4
org-chart.tcl
www/org-chart.tcl
+1
-1
No files found.
sql/oracle/intranet-hr-create.sql
View file @
8fa1e60d
...
...
@@ -120,8 +120,7 @@ select
u
.
*
,
e
.
*
,
pa
.
*
,
pe
.
*
,
mr
.
member_state
pe
.
*
from
users
u
,
parties
pa
,
...
...
@@ -129,7 +128,7 @@ from
im_employees
e
,
groups
g
,
group_distinct_member_map
gdmm
,
--
--
for member_state=approved check:
membership_rels
mr
,
acs_magic_objects
mo
,
group_member_map
m
...
...
@@ -140,13 +139,14 @@ where
and
g
.
group_name
=
'Employees'
and
gdmm
.
group_id
=
g
.
group_id
and
gdmm
.
member_id
=
u
.
user_id
--
--
for member_state=approved check:
and
m
.
member_id
=
u
.
user_id
and
mo
.
name
=
'registered_users'
and
m
.
group_id
=
mo
.
object_id
and
m
.
rel_id
=
mr
.
rel_id
and
m
.
rel_type
=
'membership_rel'
and
m
.
container_id
=
m
.
group_id
and
mr
.
member_state
=
'approved'
;
...
...
tcl/intranet-hr-procs.tcl
View file @
8fa1e60d
...
...
@@ -85,7 +85,7 @@ ad_proc im_employee_info_component { employee_id return_url {view_name ""} } {
pe.person_id = u.user_id
and p.party_id = u.user_id
and u.user_id = ci.cause_object_id(+)
and ci.cost_id = rc.cost_id
and ci.cost_id = rc.
rep_
cost_id
and u.user_id = :employee_id
and u.user_id = e.employee_id(+)
and e.department_id = cc.cost_center_id(+)
...
...
www/new.tcl
View file @
8fa1e60d
...
...
@@ -183,7 +183,7 @@ ad_form -extend -name cost -on_request {
p.party_id = :employee_id
and p.party_id = e.employee_id
and p.party_id = ci.cause_object_id
(
+
)
and ci.cost_id = rc.cost_id
(
+
)
and ci.cost_id = rc.
rep_
cost_id
(
+
)
}
-after_submit
{
...
...
@@ -194,10 +194,10 @@ ad_form -extend -name cost -on_request {
# The join between im_costs and im_repeating_costs is necessary
# in order to elimiate all the non-repeating cost items.
set rep_cost_id
[
db_string rep_costs_exist
"
select rc.cost_id
select rc.
rep_
cost_id
from im_repeating_costs rc,
im_costs ci
where rc.cost_id = ci.cost_id
where rc.
rep_
cost_id = ci.cost_id
and ci.cause_object_id = :employee_id
"
-default 0
]
if
{
!$rep_cost_id
}
{
...
...
@@ -205,7 +205,7 @@ ad_form -extend -name cost -on_request {
set rep_cost_id
[
im_cost::new -cost_name
$cost
_name -cost_type_id
[
im_cost_type_repeating
]]
db_dml insert_repeating_costs
"
insert into im_repeating_costs (
cost_id,
rep_
cost_id,
start_date,
end_date
) values (
...
...
www/org-chart.tcl
View file @
8fa1e60d
...
...
@@ -37,7 +37,7 @@ if {![im_permission $user_id view_hr]} {
set
big_kahuna_list
[
db_list kahuna_find
"
select
info.employee_id
info.employee_id
from
im_employees_active info
where
...
...
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