Activity Summary to not show cancelled timesheets on click
Clicking an Activity Type in the Activity summary portion of project will add filter of "Status" != "Cancelled"
This commit is contained in:
parent
fcbb7692fa
commit
1579565e52
@ -78,7 +78,7 @@ frappe.ui.form.on("Project", {
|
||||
section.on('click', '.time-sheet-link', function() {
|
||||
var activity_type = $(this).attr('data-activity_type');
|
||||
frappe.set_route('List', 'Timesheet',
|
||||
{'activity_type': activity_type, 'project': frm.doc.name});
|
||||
{'activity_type': activity_type, 'project': frm.doc.name, 'status': ["!=", "Cancelled"]});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user