Skip to content

Commit

Permalink
ap 5231: amend_incomplete auery to use ccms_matter_code not matter_type
Browse files Browse the repository at this point in the history
  • Loading branch information
kmahern committed Sep 5, 2024
1 parent 95a0d20 commit 1aa91db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/services/query/incomplete_proceedings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ def query
(
NOT EXISTS (select 'has_scope_limitations' FROM scope_limitations where (proceeding_id = proceedings.id))
OR (used_delegated_functions IS NULL)
OR (accepted_substantive_defaults IS NULL AND matter_type != 'Special Children Act')
OR (accepted_substantive_defaults IS NULL AND ccms_matter_code != 'KPBLW')
OR (client_involvement_type_ccms_code IS NULL)
OR (used_delegated_functions = true AND accepted_emergency_defaults IS NULL AND matter_type != 'Special Children Act')
OR (used_delegated_functions = true AND accepted_emergency_defaults IS NULL AND ccms_matter_code != 'KPBLW')
OR (accepted_substantive_defaults = false
AND (substantive_level_of_service IS NULL
OR substantive_level_of_service_name IS NULL
Expand Down

0 comments on commit 1aa91db

Please sign in to comment.