translation of company & contact and show parent in list

This commit is contained in:
2021-10-11 17:34:52 +02:00
parent acbb33918f
commit 313c17826e
5 changed files with 27 additions and 8 deletions

View File

@@ -19,8 +19,8 @@
</div>
<div class="right_actions">
<span class="badge bg-chill-red" v-if="item.result.kind == 'child'">
{{ $t('thirdparty.contact')}}
<span class="badge bg-chill-blue" v-if="item.result.kind == 'child'">
{{ $t('thirdparty.child')}}
</span>
<span class="badge bg-info" v-else-if="item.result.kind == 'company'">
{{ $t('thirdparty.company')}}
@@ -49,8 +49,8 @@ const i18n = {
messages: {
fr: {
thirdparty: {
contact: "Contact",
company: "Institution",
contact: "Personne physique",
company: "Personne morale",
child: "Personne de contact"
}
}