Merge branch 'ConstructionConsent/fix-bugs2' into 'master'
fixed import bugs and filter See merge request fronk/thetool!1554
This commit is contained in:
@@ -435,7 +435,7 @@ class ConstructionConsent extends mfBaseModel {
|
||||
END), 0) > 0
|
||||
OR COALESCE(SUM(CASE
|
||||
WHEN approve_override = 1 THEN 0
|
||||
ELSE (cwo.result = 'open')
|
||||
ELSE (cwo.result = 'open' AND cwo.status != 'new')
|
||||
END), 0) > 0
|
||||
OR COALESCE(SUM(CASE
|
||||
WHEN approve_override = 1 THEN 0
|
||||
|
||||
Reference in New Issue
Block a user