correctif(chorus.export): suite a un refacto, c'etait kc
This commit is contained in:
parent
7cb6eadf18
commit
72b8ccec36
1 changed files with 4 additions and 4 deletions
|
@ -1226,11 +1226,11 @@ class Dossier < ApplicationRecord
|
|||
columns << ['Entreprise raison sociale', etablissement&.entreprise_raison_sociale]
|
||||
end
|
||||
|
||||
if procedure.chorusable? && procedure.chorus.complete?
|
||||
if procedure.chorusable? && procedure.chorus_configuration.complete?
|
||||
columns += [
|
||||
['Domaine Fonctionnel', procedure.chorus_configuration.domaine_fonctionnel.code],
|
||||
['Référentiel De Programmation', procedure.chorus_configuration.referentiel_de_programmation.code],
|
||||
['Centre De Coup', procedure.chorus_configuration.centre_de_cout.code]
|
||||
['Domaine Fonctionnel', procedure.chorus_configuration.domaine_fonctionnel&.fetch("code") { '' }],
|
||||
['Référentiel De Programmation', procedure.chorus_configuration.referentiel_de_programmation&.fetch("code") { '' }],
|
||||
['Centre De Coup', procedure.chorus_configuration.centre_de_cout&.fetch("code") { '' }]
|
||||
]
|
||||
end
|
||||
columns += [
|
||||
|
|
Loading…
Reference in a new issue