chore: Added Dynamic Charts to DN and PR Trends Reports

This commit is contained in:
marination
2020-05-15 01:33:43 +05:30
parent 10bd2417ff
commit bb95cd5fd8
5 changed files with 67 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ from erpnext.stock.utils import get_stock_value_from_bin
@frappe.whitelist()
@cache_source
def get(chart_name = None, chart = None, no_cache = None, filters = None, from_date = None,
to_date = None, timespan = None, time_interval = None):
to_date = None, timespan = None, time_interval = None, heatmap_year = None):
labels, datapoints = [], []
filters = frappe.parse_json(filters)