mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
start to display profession/fonction of thirdparty
This commit is contained in:
parent
bb8898a4ec
commit
874c90e0e0
@ -22,6 +22,8 @@
|
|||||||
</badge-entity>
|
</badge-entity>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<p v-if="thirdparty.profession">{{ thirdparty.profession }}</p>
|
||||||
|
|
||||||
<p v-if="this.options.addInfo === true" class="moreinfo">
|
<p v-if="this.options.addInfo === true" class="moreinfo">
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@ -111,6 +113,7 @@ export default {
|
|||||||
props: ['thirdparty', 'options'],
|
props: ['thirdparty', 'options'],
|
||||||
computed: {
|
computed: {
|
||||||
isMultiline: function() {
|
isMultiline: function() {
|
||||||
|
console.log('thirdparty', this.thirdparty)
|
||||||
if (this.options.isMultiline){
|
if (this.options.isMultiline){
|
||||||
return this.options.isMultiline
|
return this.options.isMultiline
|
||||||
} else {
|
} else {
|
||||||
|
@ -45,6 +45,7 @@ class ThirdPartyNormalizer implements NormalizerAwareInterface, NormalizerInterf
|
|||||||
'isChild' => $thirdParty->isChild(),
|
'isChild' => $thirdParty->isChild(),
|
||||||
'parent' => $this->normalizer->normalize($thirdParty->getParent(), $format, $context),
|
'parent' => $this->normalizer->normalize($thirdParty->getParent(), $format, $context),
|
||||||
'civility' => $this->normalizer->normalize($thirdParty->getCivility(), $format, $context),
|
'civility' => $this->normalizer->normalize($thirdParty->getCivility(), $format, $context),
|
||||||
|
'profession' => $this->normalizer->normalize($thirdParty->getProfession(), $format, $context),
|
||||||
'contactDataAnonymous' => $thirdParty->isContactDataAnonymous(),
|
'contactDataAnonymous' => $thirdParty->isContactDataAnonymous(),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user