mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-14 02:31:21 +00:00
fix: Indentation
This commit is contained in:
@@ -62,14 +62,14 @@ def execute(filters=None):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
for idx, src in enumerate(gross_profit_data.grouped_data):
|
for idx, src in enumerate(gross_profit_data.grouped_data):
|
||||||
row = []
|
row = []
|
||||||
for col in group_wise_columns.get(scrub(filters.group_by)):
|
for col in group_wise_columns.get(scrub(filters.group_by)):
|
||||||
row.append(src.get(col))
|
row.append(src.get(col))
|
||||||
|
|
||||||
row.append(filters.currency)
|
row.append(filters.currency)
|
||||||
if idx == len(gross_profit_data.grouped_data)-1:
|
if idx == len(gross_profit_data.grouped_data)-1:
|
||||||
row[0] = frappe.bold("Total")
|
row[0] = frappe.bold("Total")
|
||||||
data.append(row)
|
data.append(row)
|
||||||
|
|
||||||
return columns, data
|
return columns, data
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user