fixed import bugs and filter
This commit is contained in:
@@ -1348,6 +1348,11 @@ $pagination_entity_name = "Adressen";
|
||||
background-color: #337ab7; /* Blue */
|
||||
}
|
||||
|
||||
.ConstructionConsentOwnerResult-new {
|
||||
/*red background color here for this tr*/
|
||||
background-color: #337ab7
|
||||
}
|
||||
|
||||
.ConstructionConsentOwnerResult-denied {
|
||||
/*red background color here for this tr*/
|
||||
background-color: #f9a39f
|
||||
|
||||
@@ -428,6 +428,10 @@ class ConstructionConsent extends mfBaseModel {
|
||||
COUNT(cwo.id) AS total_owners,
|
||||
CASE
|
||||
WHEN ConstructionConsent.approve_override = 1 THEN 'green'
|
||||
WHEN COALESCE(SUM(CASE
|
||||
WHEN approve_override = 1 THEN 0
|
||||
ELSE (cwo.result = 'open' AND cwo.status = 'new')
|
||||
END), 0) > 0 THEN 'blue'
|
||||
WHEN COALESCE(SUM(CASE
|
||||
WHEN approve_override = 1 THEN 0
|
||||
ELSE (cwo.result = 'denied')
|
||||
|
||||
Reference in New Issue
Block a user