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