EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
fix convert lead, url
Yurii4708567bcc01
diff --git a/client/modules/crm/src/controllers/lead.js b/client/modules/crm/src/controllers/lead.jsindex 41b6bfd2f7..b5d58c36a4 100644--- a/client/modules/crm/src/controllers/lead.js+++ b/client/modules/crm/src/controllers/lead.js@@ -31,8 +31,8 @@ import RecordController from 'controllers/record';class LeadController extends RecordController {// noinspection JSUnusedGlobalSymbols- actionConvert(id) {- this.main('crm:views/lead/convert', {id: id});+ actionConvert(options) {+ this.main('crm:views/lead/convert', {id: options.id});}}diff --git a/client/modules/crm/src/views/lead/detail.js b/client/modules/crm/src/views/lead/detail.jsindex aec6e58315..00f7154dfa 100644--- a/client/modules/crm/src/views/lead/detail.js+++ b/client/modules/crm/src/views/lead/detail.js@@ -60,7 +60,7 @@ class LeadDetailView extends DetailView {}actionConvert() {- this.getRouter().navigate(`${this.model.entityType}/convert/${this.model.id}` , {trigger: true});+ this.getRouter().navigate(`${this.model.entityType}/convert/id=${this.model.id}`, {trigger: true});}}