-- fixed construction outer-where
-- fixed construction outer-where II
-- remove criteria user_id from outer join when view_hours_all_p = true
-- regular employee should see only his hours also when report is requested directly using url