mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 17:15:04 +00:00
refactor(dashboard): Move dashboard.py to account_balance_timeline.py
This commit is contained in:
0
erpnext/accounts/dashboard_chart_source/__init__.py
Normal file
0
erpnext/accounts/dashboard_chart_source/__init__.py
Normal file
@@ -4,12 +4,14 @@
|
||||
from __future__ import unicode_literals
|
||||
from itertools import groupby
|
||||
from operator import itemgetter
|
||||
import json
|
||||
import frappe
|
||||
from frappe.utils import add_to_date, date_diff, getdate, nowdate
|
||||
from erpnext.accounts.report.general_ledger.general_ledger import execute
|
||||
|
||||
|
||||
def get(filters= None):
|
||||
@frappe.whitelist()
|
||||
def get(filters=None):
|
||||
filters = json.loads(filters)
|
||||
timespan = filters.get("timespan")
|
||||
timegrain = filters.get("timegrain")
|
||||
account = filters.get("account")
|
||||
Reference in New Issue
Block a user