From bbc810c29d8b2bd6c1ee4e288e26e41547b1104e Mon Sep 17 00:00:00 2001 From: Dany Robert Date: Tue, 10 Oct 2023 05:20:14 +0000 Subject: [PATCH] feat: custom fields on adding new customer --- desk/src/components/UniInput.vue | 5 +- .../desk/global/NewCustomerDialog.vue | 49 +++++++++++++++---- helpdesk/helpdesk/doctype/hd_customer/api.py | 11 +++++ 3 files changed, 55 insertions(+), 10 deletions(-) create mode 100644 helpdesk/helpdesk/doctype/hd_customer/api.py diff --git a/desk/src/components/UniInput.vue b/desk/src/components/UniInput.vue index 4974ffdeb..b3321e52b 100644 --- a/desk/src/components/UniInput.vue +++ b/desk/src/components/UniInput.vue @@ -2,7 +2,10 @@
{{ field.label }} - + * diff --git a/desk/src/components/desk/global/NewCustomerDialog.vue b/desk/src/components/desk/global/NewCustomerDialog.vue index 617a5ed27..47e0868aa 100644 --- a/desk/src/components/desk/global/NewCustomerDialog.vue +++ b/desk/src/components/desk/global/NewCustomerDialog.vue @@ -1,10 +1,13 @@