onTheFly modal to add contact to thirdparty - form fields for profession,civility, and comment added - no saving possible yet

This commit is contained in:
2022-01-13 14:35:53 +01:00
parent 3860adc435
commit 6a3f17962b
3 changed files with 119 additions and 56 deletions

View File

@@ -39,13 +39,12 @@
</on-the-fly-thirdparty>
</template>
<template v-slot:body v-else-if="action === 'addContact'">
<template v-slot:body v-else-if="parent">
<on-the-fly-thirdparty
:parent="parent"
:action="action"
type="thirdparty"
action="create"
kind="child"
ref="castThirdparty">
ref="castNew">
</on-the-fly-thirdparty>
</template>
@@ -120,6 +119,8 @@ export default {
return 'action.edit';
case 'create':
return 'action.create';
case 'addContact':
return 'action.addContact';
}
},
titleModal() {
@@ -130,6 +131,8 @@ export default {
return 'onthefly.edit.' + this.type;
case 'create':
return 'onthefly.create.title';
case 'addContact':
return 'onthefly.addContact.title';
}
},
titleMessage() {
@@ -212,4 +215,8 @@ export default {
a {
cursor: pointer;
}
/* .btn-add-contact {
background-color: pink;
} */
</style>