From 101fbb16107d2887e46dfb6a56a8d0cea91e0f4f Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 15 Nov 2023 15:58:29 +0100 Subject: [PATCH] amelelioration(API): ajoute l'enseigne aux personnes morales --- app/graphql/schema.graphql | 1 + app/graphql/types/personne_morale_type.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/app/graphql/schema.graphql b/app/graphql/schema.graphql index fdd8c3ad5..f0af9351a 100644 --- a/app/graphql/schema.graphql +++ b/app/graphql/schema.graphql @@ -2220,6 +2220,7 @@ type Entreprise { effectif pour un mois donné """ effectifMensuel: Effectif + enseigne: String etatAdministratif: EntrepriseEtatAdministratif formeJuridique: String formeJuridiqueCode: String diff --git a/app/graphql/types/personne_morale_type.rb b/app/graphql/types/personne_morale_type.rb index 84688dd9e..1e202d883 100644 --- a/app/graphql/types/personne_morale_type.rb +++ b/app/graphql/types/personne_morale_type.rb @@ -30,6 +30,7 @@ module Types field :prenom, String, null: true field :attestation_sociale_attachment, Types::File, null: true field :attestation_fiscale_attachment, Types::File, null: true + field :enseigne, String, null: true def attestation_sociale_attachment load_attachment_for(:entreprise_attestation_sociale_attachment)