diff --git a/src/client/src/components/DataSheets/Sections/Establishment/Direccte/Controles.gql.js b/src/client/src/components/DataSheets/Sections/Establishment/Direccte/Controles.gql.js index 9bac61a7..59c974c7 100644 --- a/src/client/src/components/DataSheets/Sections/Establishment/Direccte/Controles.gql.js +++ b/src/client/src/components/DataSheets/Sections/Establishment/Direccte/Controles.gql.js @@ -12,21 +12,21 @@ import { const controlesQuery = gql` query getControles($siret: String!) { - fce_interactions_pole_c(where: { siret: { _eq: $siret } }) { - unite - siret - date - interactions_pole_c_siret { - denominationusuelleetablissement - } - } - # fce_interactions_pole_t(where: { siret: { _eq: $siret } }) { - # date - # intervenant - # action_sur - # realise_pour + # fce_interactions_pole_c(where: { siret: { _eq: $siret } }) { + # unite # siret + # date + # interactions_pole_c_siret { + # denominationusuelleetablissement + # } # } + fce_interactions_pole_t(where: { siret: { _eq: $siret } }) { + date + intervenant + action_sur + realise_pour + siret + } # fce_interactions_pole_3e(where: { siret: { _eq: $siret } }) { # inspecteurs # date_visite