1
0
forked from test/crm

fix: add contact in deal is not working

This commit is contained in:
Shariq Ansari 2025-01-06 13:26:41 +05:30
parent 211107f025
commit 9b5e596cb1
2 changed files with 5 additions and 2 deletions

View File

@ -74,8 +74,7 @@
field.mandatory_via_depends_on) field.mandatory_via_depends_on)
" "
class="text-ink-red-3" class="text-ink-red-3"
> *</span > *</span>
>
</div> </div>
</Tooltip> </Tooltip>
<div class="flex items-center justify-between w-[65%]"> <div class="flex items-center justify-between w-[65%]">
@ -413,6 +412,9 @@ const props = defineProps({
type: Boolean, type: Boolean,
default: false, default: false,
}, },
addContact: {
type: Function,
},
}) })
const { getFormattedPercent, getFormattedFloat, getFormattedCurrency } = const { getFormattedPercent, getFormattedFloat, getFormattedCurrency } =

View File

@ -121,6 +121,7 @@
<SidePanelLayout <SidePanelLayout
v-model="deal.data" v-model="deal.data"
:sections="sections.data" :sections="sections.data"
:addContact="addContact"
doctype="CRM Deal" doctype="CRM Deal"
v-slot="{ section }" v-slot="{ section }"
@update="updateField" @update="updateField"