From dc5b206e56c53fdf297d09517a3608cca2da106f Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Mon, 13 Nov 2023 18:49:41 +0530 Subject: [PATCH] fix: replaced organization & add contact autocomplete with link field --- frontend/src/pages/Deal.vue | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/frontend/src/pages/Deal.vue b/frontend/src/pages/Deal.vue index 6202c46f..0abefb39 100644 --- a/frontend/src/pages/Deal.vue +++ b/frontend/src/pages/Deal.vue @@ -115,17 +115,10 @@ {{ section.label }}
- - +
- - + { type: 'link', name: 'organization', placeholder: 'Select organization', - options: getOrganizationOptions(), - change: (data) => updateField('organization', data.value), + doctype: 'CRM Organization', + change: (data) => updateField('organization', data), create: (value, close) => { _organization.value.organization_name = value showOrganizationModal.value = true