소스 검색

fix: Total Row in Checkbox Column Reports

version-14
marination 4 년 전
부모
커밋
d330575d49
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      frappe/public/js/frappe/views/reports/query_report.js

+ 2
- 1
frappe/public/js/frappe/views/reports/query_report.js 파일 보기

@@ -1043,7 +1043,8 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
// applied to Float, Currency fields, needed only for currency formatting.
// make first data column have value 'Total'
let index = 1;
if (this.datatable && this.datatable.options.checkboxColumn) index = 2;
let datatable = this.report_settings.get_datatable_options({});
if (datatable && datatable.checkboxColumn) index = 2;

if (column.colIndex === index && !value) {
value = "Total";


불러오는 중...
취소
저장