diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js index c0946f702..22c91b0ef 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js @@ -292,7 +292,7 @@ let initPromise = Promise.all([scopesPromise, accompanyingCoursePromise]) else if (payload.type === 'thirdparty') { body.name = payload.data.text; body.email = payload.data.email; - body.phonenumber = payload.data.phonenumber; + body.telephone = payload.data.phonenumber; body.address = { address_id: payload.data.address.address_id }; console.log('id', payload.data.id, 'and body', body); patchThirdparty(payload.data.id, body) diff --git a/src/Bundle/ChillThirdPartyBundle/Resources/public/vuejs/_components/OnTheFly/ThirdParty.vue b/src/Bundle/ChillThirdPartyBundle/Resources/public/vuejs/_components/OnTheFly/ThirdParty.vue index f68b00c4c..701bf38e8 100644 --- a/src/Bundle/ChillThirdPartyBundle/Resources/public/vuejs/_components/OnTheFly/ThirdParty.vue +++ b/src/Bundle/ChillThirdPartyBundle/Resources/public/vuejs/_components/OnTheFly/ThirdParty.vue @@ -21,7 +21,7 @@