mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
fix in trend analyzer - show currency only for amt field
This commit is contained in:
@@ -79,7 +79,7 @@ if group_by:
|
|||||||
cols.append([group_by,'Data','150px',''])
|
cols.append([group_by,'Data','150px',''])
|
||||||
|
|
||||||
for c in col_names:
|
for c in col_names:
|
||||||
cols.append([c,'Currency','150px',''])
|
cols.append([c, ("Amt" in c) and 'Currency' or 'Float','150px',''])
|
||||||
|
|
||||||
for c in cols:
|
for c in cols:
|
||||||
colnames.append(c[0])
|
colnames.append(c[0])
|
||||||
|
|||||||
Reference in New Issue
Block a user