mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 11:09:17 +00:00
chore: fix linting issues
This commit is contained in:
@@ -54,6 +54,7 @@ erpnext.LeadController = class LeadController extends frappe.ui.form.Controller
|
||||
}
|
||||
|
||||
add_lead_to_prospect () {
|
||||
let me = this;
|
||||
frappe.prompt([
|
||||
{
|
||||
fieldname: 'prospect',
|
||||
@@ -67,12 +68,12 @@ erpnext.LeadController = class LeadController extends frappe.ui.form.Controller
|
||||
frappe.call({
|
||||
method: 'erpnext.crm.doctype.lead.lead.add_lead_to_prospect',
|
||||
args: {
|
||||
'lead': cur_frm.doc.name,
|
||||
'lead': me.frm.doc.name,
|
||||
'prospect': data.prospect
|
||||
},
|
||||
callback: function(r) {
|
||||
if (!r.exc) {
|
||||
frm.reload_doc();
|
||||
me.frm.reload_doc();
|
||||
}
|
||||
},
|
||||
freeze: true,
|
||||
|
||||
Reference in New Issue
Block a user