Merge pull request #9745 from mfo/US/chorus-fix
correctif(chorus.export): suite a un refacto, c'etait kc
This commit is contained in:
commit
c717691a6f
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