fix: Default currency symbol in query report total row (#33429)
This commit is contained in:
parent
4983c3fc34
commit
20e4815d81
1 changed files with 3 additions and 1 deletions
|
|
@ -1743,7 +1743,9 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
|
|||
row.is_total_row = true;
|
||||
return row;
|
||||
}, {});
|
||||
|
||||
if (!totalRow?.currency && rows[0]?.currency) {
|
||||
totalRow.currency = rows[0].currency;
|
||||
}
|
||||
rows.push(totalRow);
|
||||
}
|
||||
return rows;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue