fix: Mark totals row correctly for print (#25629)

This commit is contained in:
Ankush Menat 2024-03-24 16:40:11 +05:30 committed by GitHub
parent 54776f796b
commit 8ee28507f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}