mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
return interchange of name and text back to how it was before -> solves one bug recreates the other
This commit is contained in:
parent
769700fe83
commit
41bddf2db6
@ -220,7 +220,7 @@ export default {
|
||||
data = {
|
||||
"type": "thirdparty",
|
||||
"kind": "child",
|
||||
"name": data.name,
|
||||
"name": data.text,
|
||||
"isChild": true,
|
||||
"parent": {"type": "thirdparty", "id": this.parent.id},
|
||||
"civility": {"id": data.civility},
|
||||
|
@ -451,7 +451,7 @@ let initPromise = (root) => Promise.all([getScopesPromise(root), accompanyingCou
|
||||
}));
|
||||
}
|
||||
else if (payload.type === 'thirdparty') {
|
||||
body.name = payload.data.name;
|
||||
body.name = payload.data.text;
|
||||
body.email = payload.data.email;
|
||||
body.telephone = payload.data.phonenumber;
|
||||
body.address = { id: payload.data.address.address_id };
|
||||
|
@ -84,7 +84,7 @@
|
||||
</div>
|
||||
|
||||
<div class="form-floating mb-3">
|
||||
<input class="form-control form-control-lg" id="name" v-model="thirdparty.name" v-bind:placeholder="$t('thirdparty.name')" />
|
||||
<input class="form-control form-control-lg" id="name" v-model="thirdparty.text" v-bind:placeholder="$t('thirdparty.name')" />
|
||||
<label for="name">{{ $t('thirdparty.name') }}</label>
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user