fix: Last Communication for lead

- Remove unused code
- Remove unused import
This commit is contained in:
Suraj Shetty
2019-06-12 10:31:07 +05:30
parent 7ff124db95
commit 2f84779667
4 changed files with 3 additions and 13 deletions

View File

@@ -175,7 +175,6 @@ class CallPopup {
if (data.last_communication) {
const comm = data.last_communication;
comm_field.set_value(comm.content);
comm_field.$wrapper.append(frappe.utils.get_form_link('Communication', comm.name));
}
if (data.last_issue) {
@@ -183,7 +182,7 @@ class CallPopup {
const issue_field = this.dialog.fields_dict["last_issue"];
issue_field.set_value(issue.subject);
issue_field.$wrapper.append(`<a class="text-medium" href="#List/Issue?customer=${issue.customer}">
View all issues from ${issue.customer}
${__('View all issues from {0}', [issue.customer])}
</a>`);
}
});