feat(dashboard): Remove hardcoded company filter

This commit is contained in:
Aditya Hase 2019-01-15 14:36:23 +05:30
parent 3b593e44c6
commit 4b171ddebb

View File

@ -14,10 +14,12 @@ def get(filters= None):
timespan = filters.get("timespan")
timegrain = filters.get("timegrain")
account = filters.get("account")
company = filters.get("company")
from_date = get_from_date_from_timespan(timespan)
to_date = nowdate()
filters = frappe._dict({
"company": "Gadget Technologies Pvt. Ltd.",
"company": company,
"from_date": from_date,
"to_date": to_date,
"account": account,