Merge pull request #5976 from tchak/relax-etablissement-validations
capital_social and numero_tva_intracommunautaire can be null
This commit is contained in:
commit
6e95d1c710
2 changed files with 4 additions and 4 deletions
|
@ -1089,7 +1089,7 @@ type Entreprise {
|
|||
"""
|
||||
capital social de l’entreprise. -1 si inconnu.
|
||||
"""
|
||||
capitalSocial: BigInt!
|
||||
capitalSocial: BigInt
|
||||
codeEffectifEntreprise: String
|
||||
dateCreation: ISO8601Date!
|
||||
|
||||
|
@ -1107,7 +1107,7 @@ type Entreprise {
|
|||
inlineAdresse: String!
|
||||
nom: String
|
||||
nomCommercial: String!
|
||||
numeroTvaIntracommunautaire: String!
|
||||
numeroTvaIntracommunautaire: String
|
||||
prenom: String
|
||||
raisonSociale: String!
|
||||
siren: String!
|
||||
|
|
|
@ -7,8 +7,8 @@ module Types
|
|||
end
|
||||
|
||||
field :siren, String, null: false
|
||||
field :capital_social, GraphQL::Types::BigInt, null: false, description: "capital social de l’entreprise. -1 si inconnu."
|
||||
field :numero_tva_intracommunautaire, String, null: false
|
||||
field :capital_social, GraphQL::Types::BigInt, null: true, description: "capital social de l’entreprise. -1 si inconnu."
|
||||
field :numero_tva_intracommunautaire, String, null: true
|
||||
field :forme_juridique, String, null: true
|
||||
field :forme_juridique_code, String, null: true
|
||||
field :nom_commercial, String, null: false
|
||||
|
|
Loading…
Reference in a new issue