mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
parent id added to thirdparty data
This commit is contained in:
parent
32ff54e130
commit
b920bf6d22
@ -66,13 +66,13 @@
|
||||
</div>
|
||||
|
||||
<div v-if="parent">
|
||||
<div class="input-group mb-3">
|
||||
<input type="hidden" name="parent_id" :value="parent.id" />
|
||||
</div>
|
||||
<!-- <div class="input-group mb-3">
|
||||
<input type="hidden" name="parent_id" v-model="thirdparty.parent" :value="parent.id" />
|
||||
</div> -->
|
||||
<div id="child-info">
|
||||
<div class="input-group mb-3">
|
||||
<!-- <span class="input-group-text" id="comment"><i class="fa fa-fw fa-briefcase"></i></span> -->
|
||||
<select class="form-select form-select-lg" id="profession"
|
||||
<select class="form-select form-select-lg" id="profession"
|
||||
v-model="thirdparty.civility">
|
||||
<option selected disabled >{{ $t('thirdparty.civility') }}</option>
|
||||
<option v-for="civility in civilities" :key="civility.id" :value="civility.id">{{ civility.name.fr }}</option>
|
||||
@ -80,7 +80,7 @@
|
||||
</div>
|
||||
<div class="input-group mb-3">
|
||||
<!-- <span class="input-group-text" id="comment"><i class="fa fa-fw fa-user-circle-o"></i></span> -->
|
||||
<select class="form-select form-select-lg" id="civility"
|
||||
<select class="form-select form-select-lg" id="civility"
|
||||
v-model="thirdparty.profession">
|
||||
<option selected disabled >{{ $t('thirdparty.profession') }}</option>
|
||||
<option v-for="profession in professions" :key="profession.id" :value="profession.id">{{ profession.name.fr }}</option>
|
||||
@ -155,6 +155,7 @@ export default {
|
||||
//context: {}, <--
|
||||
thirdparty: {
|
||||
type: 'thirdparty',
|
||||
parent: this.parent.id
|
||||
},
|
||||
professions: [],
|
||||
civilities: [],
|
||||
|
Loading…
x
Reference in New Issue
Block a user