mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +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},
|
||||
"comment": data.comment,
|
||||
"telephone": data.phonenumber,
|
||||
"email": data.email
|
||||
"email": data.email,
|
||||
"address": data.address
|
||||
}
|
||||
// console.log('body', body)
|
||||
postThirdparty(body)
|
||||
.then(thirdparty => new Promise((resolve, reject) => {
|
||||
// this.newPriorSuggestion(thirdparty);
|
||||
console.log('thirdparty created', thirdparty)
|
||||
// this.$parent.newPriorSuggestion(thirdparty);
|
||||
// console.log('thirdparty created', thirdparty)
|
||||
resolve();
|
||||
}));
|
||||
} else {
|
||||
|
@ -69,14 +69,14 @@
|
||||
<div class="input-group mb-3">
|
||||
<select class="form-select form-select-lg" id="profession"
|
||||
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>
|
||||
</select>
|
||||
</div>
|
||||
<div class="input-group mb-3">
|
||||
<select class="form-select form-select-lg" id="civility"
|
||||
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>
|
||||
</select>
|
||||
</div>
|
||||
@ -89,7 +89,7 @@
|
||||
</div>
|
||||
|
||||
<template
|
||||
v-if="thirdparty.kind !== 'child' || parent">
|
||||
v-if="thirdparty.kind !== 'child'">
|
||||
<add-address
|
||||
key="thirdparty"
|
||||
:context="context"
|
||||
|
Loading…
x
Reference in New Issue
Block a user