Skip to content

Commit

Permalink
fix: Mark totals row correctly for print (#25629)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Mar 24, 2024
1 parent 54776f7 commit 8ee2850
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frappe/public/js/frappe/views/reports/report_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,8 @@ frappe.views.ReportView = class ReportView extends frappe.views.ListView {
if (this.add_totals_row) {
const total_data = this.get_columns_totals(this.data);

total_data["name"] = __("Totals").bold();
total_data["name"] = __("Total");
total_data.is_total_row = true;
rows_in_order.push(total_data);
}

Expand Down

0 comments on commit 8ee2850

Please sign in to comment.