mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
quick fixes: birthdate make accompaying course form dans les choux
This commit is contained in:
parent
0b5daa6c33
commit
96d302ccf7
@ -18,9 +18,6 @@
|
||||
|
||||
<dl class="content-bloc" v-if="accompanyingCourse.requestor.type === 'person'">
|
||||
|
||||
<dt>{{ $t('requestor.birthdate') }}</dt>
|
||||
<dd>{{ $d(accompanyingCourse.requestor.birthdate.datetime, 'short') }}</dd>
|
||||
|
||||
<dt>{{ $t('requestor.center') }}</dt>
|
||||
<dd>{{ accompanyingCourse.requestor.center.name }}</dd>
|
||||
|
||||
@ -118,7 +115,12 @@ export default {
|
||||
get() {
|
||||
return this.$store.state.accompanyingCourse.requestorAnonymous;
|
||||
}
|
||||
}
|
||||
},
|
||||
hasRequestorPersonBirthdate() {
|
||||
console.log('hasRequestorBirthdate');
|
||||
console.log(this.$store.state.accompanyingCourse.requestor);
|
||||
return this.$store.state.accompanyingCourse.requestor.birthdate !== null;
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
removeRequestor() {
|
||||
|
@ -11,9 +11,9 @@
|
||||
</td>
|
||||
|
||||
<td v-if="resource.resource.type === 'person'">
|
||||
{{ $tc('person.born') }}{{ $d(resource.resource.birthdate.datetime, 'short') }}
|
||||
|
||||
</td>
|
||||
<td v-else-if="resource.resource.type === 'thirdparty'">
|
||||
<td v-if="resource.resource.type === 'thirdparty'">
|
||||
{{ resource.resource.address.text }}<br>
|
||||
{{ resource.resource.address.postcode.name }}
|
||||
</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user