mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
placeholders for civility and profession
This commit is contained in:
parent
f093765d03
commit
8f92f79f85
@ -228,13 +228,14 @@ export default {
|
|||||||
"profession": {"id": data.profession},
|
"profession": {"id": data.profession},
|
||||||
"comment": data.comment,
|
"comment": data.comment,
|
||||||
"telephone": data.phonenumber,
|
"telephone": data.phonenumber,
|
||||||
"email": data.email
|
"email": data.email,
|
||||||
|
"address": data.address
|
||||||
}
|
}
|
||||||
// console.log('body', body)
|
// console.log('body', body)
|
||||||
postThirdparty(body)
|
postThirdparty(body)
|
||||||
.then(thirdparty => new Promise((resolve, reject) => {
|
.then(thirdparty => new Promise((resolve, reject) => {
|
||||||
// this.newPriorSuggestion(thirdparty);
|
// this.$parent.newPriorSuggestion(thirdparty);
|
||||||
console.log('thirdparty created', thirdparty)
|
// console.log('thirdparty created', thirdparty)
|
||||||
resolve();
|
resolve();
|
||||||
}));
|
}));
|
||||||
} else {
|
} else {
|
||||||
|
@ -69,14 +69,14 @@
|
|||||||
<div class="input-group mb-3">
|
<div class="input-group mb-3">
|
||||||
<select class="form-select form-select-lg" id="profession"
|
<select class="form-select form-select-lg" id="profession"
|
||||||
v-model="thirdparty.civility">
|
v-model="thirdparty.civility">
|
||||||
<option selected disabled >{{ $t('thirdparty.civility') }}</option>
|
<option selected disabled :value="undefined" >{{ $t('thirdparty.civility') }}</option>
|
||||||
<option v-for="civility in civilities" :key="civility.id" :value="civility.id">{{ civility.name.fr }}</option>
|
<option v-for="civility in civilities" :key="civility.id" :value="civility.id">{{ civility.name.fr }}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-group mb-3">
|
<div class="input-group mb-3">
|
||||||
<select class="form-select form-select-lg" id="civility"
|
<select class="form-select form-select-lg" id="civility"
|
||||||
v-model="thirdparty.profession">
|
v-model="thirdparty.profession">
|
||||||
<option selected disabled >{{ $t('thirdparty.profession') }}</option>
|
<option selected disabled :value="undefined">{{ $t('thirdparty.profession') }}</option>
|
||||||
<option v-for="profession in professions" :key="profession.id" :value="profession.id">{{ profession.name.fr }}</option>
|
<option v-for="profession in professions" :key="profession.id" :value="profession.id">{{ profession.name.fr }}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
@ -89,7 +89,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<template
|
<template
|
||||||
v-if="thirdparty.kind !== 'child' || parent">
|
v-if="thirdparty.kind !== 'child'">
|
||||||
<add-address
|
<add-address
|
||||||
key="thirdparty"
|
key="thirdparty"
|
||||||
:context="context"
|
:context="context"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user