Skip to content

Commit

Permalink
fix: Mark totals row correctly for print (#25629) (#25631)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8ee2850)

Co-authored-by: Ankush Menat <ankush@frappe.io>
  • Loading branch information
mergify[bot] and ankush committed Mar 25, 2024
1 parent af406f9 commit 725018f
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
Expand Up @@ -1472,7 +1472,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 725018f

Please sign in to comment.