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]
|
columns << ['Entreprise raison sociale', etablissement&.entreprise_raison_sociale]
|
||||||
end
|
end
|
||||||
|
|
||||||
if procedure.chorusable? && procedure.chorus.complete?
|
if procedure.chorusable? && procedure.chorus_configuration.complete?
|
||||||
columns += [
|
columns += [
|
||||||
['Domaine Fonctionnel', procedure.chorus_configuration.domaine_fonctionnel.code],
|
['Domaine Fonctionnel', procedure.chorus_configuration.domaine_fonctionnel&.fetch("code") { '' }],
|
||||||
['Référentiel De Programmation', procedure.chorus_configuration.referentiel_de_programmation.code],
|
['Référentiel De Programmation', procedure.chorus_configuration.referentiel_de_programmation&.fetch("code") { '' }],
|
||||||
['Centre De Coup', procedure.chorus_configuration.centre_de_cout.code]
|
['Centre De Coup', procedure.chorus_configuration.centre_de_cout&.fetch("code") { '' }]
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
columns += [
|
columns += [
|
||||||
|
|
Loading…
Reference in a new issue