Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-core
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-core
Commits
c3026e34
Commit
c3026e34
authored
Sep 01, 2004
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- continued with sending out MIME-mail
parent
b4045e90
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
17 deletions
+23
-17
accounting-contact.tcl
www/customers/accounting-contact.tcl
+8
-5
primary-contact.tcl
www/customers/primary-contact.tcl
+14
-11
view.tcl
www/customers/view.tcl
+1
-1
No files found.
www/customers/accounting-contact.tcl
View file @
c3026e34
...
@@ -34,19 +34,22 @@ where c.customer_id = :customer_id
...
@@ -34,19 +34,22 @@ where c.customer_id = :customer_id
}]
}]
set sql
"
set sql
"
select
select
distinct
u.user_id,
u.user_id,
im_name_from_user_id(u.user_id) as name,
im_name_from_user_id(u.user_id) as name,
im_email_from_user_id(u.user_id) as email
im_email_from_user_id(u.user_id) as email
from
from
users u,
users u,
acs_rels r,
acs_rels r
group_member_map m
where
where
r.object_id_one = :customer_id
r.object_id_one = :customer_id
and r.object_id_two = u.user_id
and r.object_id_two = u.user_id
and m.member_id = u.user_id
and not exists (
and m.group_id=
[
im_customer_group_id
]
select member_id
from group_member_map m
where m.member_id = u.user_id
and m.group_id =
[
im_employee_group_id
]
)
order by lower(name)
order by lower(name)
"
"
...
...
www/customers/primary-contact.tcl
View file @
c3026e34
...
@@ -37,19 +37,22 @@ where
...
@@ -37,19 +37,22 @@ where
}]
}]
set
sql
"
set
sql
"
select
select
distinct
u.user_id,
u.user_id,
im_name_from_user_id(u.user_id) as name,
im_name_from_user_id(u.user_id) as name,
im_email_from_user_id(u.user_id) as email
im_email_from_user_id(u.user_id) as email
from
from
users u,
users u,
acs_rels r,
acs_rels r
group_member_map m
where
where
r.object_id_one = :customer_id
r.object_id_one = :customer_id
and r.object_id_two = u.user_id
and r.object_id_two = u.user_id
and m.member_id = u.user_id
and not exists (
and m.group_id=
[
im_customer_group_id
]
select member_id
from group_member_map m
where m.member_id = u.user_id
and m.group_id =
[
im_employee_group_id
]
)
order by lower(name)
order by lower(name)
"
"
...
...
www/customers/view.tcl
View file @
c3026e34
...
@@ -270,7 +270,7 @@ set company_members [im_group_member_component $customer_id $user_id $admin $ret
...
@@ -270,7 +270,7 @@ set company_members [im_group_member_component $customer_id $user_id $admin $ret
set
enable_project_estimates 0
set
enable_project_estimates 0
set
also_add_to_group
[
im_customer_group_id
]
set
also_add_to_group
[
im_customer_group_id
]
set
customer_members
[
im_group_member_component
$customer
_id
$user
_id
$admin
$return
_url
[
im_customer_group_id
]
[
im_employee_group_id
]
$also
_add_to_group
]
set
customer_members
[
im_group_member_component
$customer
_id
$user
_id
$admin
$return
_url
""
[
im_employee_group_id
]
$also
_add_to_group
]
...
...
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