fix: Display only the Invoice rows in bold
This commit is contained in:
parent
b02effbc47
commit
96909b6c3b
@ -44,7 +44,7 @@ frappe.query_reports["Gross Profit"] = {
|
||||
"formatter": function(value, row, column, data, default_formatter) {
|
||||
value = default_formatter(value, row, column, data);
|
||||
|
||||
if (data && !data.parent_invoice) {
|
||||
if (data && data.indent == 0.0) {
|
||||
value = $(`<span>${value}</span>`);
|
||||
var $value = $(value).css("font-weight", "bold");
|
||||
value = $value.wrap("<p></p>").parent().html();
|
||||
|
Loading…
Reference in New Issue
Block a user