Commit 4a8416ba authored by Frank Bergmann's avatar Frank Bergmann

- removed deleted users from weekly_report

parent 647d18a1
...@@ -362,7 +362,7 @@ select ...@@ -362,7 +362,7 @@ select
i.descr, i.descr,
to_char(d.day, :date_format) as curr_day to_char(d.day, :date_format) as curr_day
from from
users u, cc_users u,
($sql_from_imhours ($sql_from_imhours
UNION UNION
$sql_from_joined $sql_from_joined
...@@ -372,6 +372,7 @@ from ...@@ -372,6 +372,7 @@ from
($active_users_sql) active_users ($active_users_sql) active_users
where where
u.user_id > 0 u.user_id > 0
and u.member_state in ('approved')
and u.user_id=i.user_id and trunc(to_date(to_char(d.day,:date_format),:date_format),'Day')=trunc(to_date(to_char(i.day,:date_format),:date_format),'Day') and u.user_id=i.user_id and trunc(to_date(to_char(d.day,:date_format),:date_format),'Day')=trunc(to_date(to_char(i.day,:date_format),:date_format),'Day')
and u.user_id = active_users.party_id and u.user_id = active_users.party_id
$sql_where $sql_where
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment