Commit 67be759a authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

[FIX] Import : le préfixe 'SyGAL' par défaut pour ORIGINE_FINANCEMENT_ID est...

[FIX] Import : le préfixe 'SyGAL' par défaut pour ORIGINE_FINANCEMENT_ID est incorrect depuis que les origines sont de nouveau importées de chaque établissement.
parent 08f25d93
Loading
Loading
Loading
Loading
+1 −5
Changes for module/Import/src/Import/Service/DbServiceJSONHelper.php: 1 added line, 5 removed lines.
Original line number Diff line number Diff line
@@ -57,13 +57,9 @@ class DbServiceJSONHelper
            case 'ecoleDoctId':
            case 'uniteRechId':
            case 'acteurEtablissementId':
                $prefixRequired = true;
                $prefix = $codeEtablissement;
                $value = isset($jsonObject->{$propertyName}) ? $jsonObject->{$propertyName} : null;
                break;
            case 'origineFinancementId':
                $prefixRequired = true;
                $prefix = null; // particularité! prefix par défaut.
                $prefix = $codeEtablissement;
                $value = isset($jsonObject->{$propertyName}) ? $jsonObject->{$propertyName} : null;
                break;
            default: