mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
onTheFly modal to add contact to thirdparty - form fields for profession,civility, and comment added - no saving possible yet
This commit is contained in:
@@ -51,13 +51,12 @@
|
||||
</div>
|
||||
</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>
|
||||
|
||||
@@ -139,6 +138,8 @@ export default {
|
||||
return 'action.edit';
|
||||
case 'create':
|
||||
return 'action.create';
|
||||
case 'addContact':
|
||||
return 'action.addContact';
|
||||
}
|
||||
},
|
||||
titleModal() {
|
||||
@@ -149,6 +150,8 @@ export default {
|
||||
return 'onthefly.edit.' + this.type;
|
||||
case 'create':
|
||||
return 'onthefly.create.title';
|
||||
case 'addContact':
|
||||
return 'onthefly.addContact.title';
|
||||
}
|
||||
},
|
||||
titleMessage() {
|
||||
@@ -231,4 +234,8 @@ export default {
|
||||
a {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* .btn-add-contact {
|
||||
background-color: pink;
|
||||
} */
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user