mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-16 10:20:31 +00:00
refactor: boldface for group accounts in financial statements
This commit is contained in:
@@ -230,7 +230,10 @@ erpnext.financial_statements = {
|
||||
|
||||
value = default_formatter(value, row, column, data);
|
||||
|
||||
if (data && !data.parent_account && !data.parent_section) {
|
||||
if (
|
||||
data &&
|
||||
((!data.parent_account && !data.parent_section) || data.is_group_account || data.is_group)
|
||||
) {
|
||||
value = $(`<span>${value}</span>`);
|
||||
|
||||
var $value = $(value).css("font-weight", "bold");
|
||||
|
||||
Reference in New Issue
Block a user