fix: Show lead name when the lead calls

This commit is contained in:
Suraj Shetty 2019-06-11 14:21:48 +05:30
parent 28f7c3ca3f
commit 7ff124db95

View File

@ -97,7 +97,7 @@ class CallPopup {
setup_known_caller(wrapper) {
const contact = this.contact;
const contact_name = frappe.utils.get_form_link('Contact', contact.name, true);
const contact_name = frappe.utils.get_form_link(contact.doctype, contact.name, true, contact.lead_name);
const links = contact.links ? contact.links : [];
let contact_links = '';