|
|
@@ -340,7 +340,7 @@ frappe.views.ReportView = class ReportView extends frappe.views.ListView { |
|
|
|
options: columns_in_picker |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: __('Insert Column Before {0}', [datatabe_col.docfield.label.bold()]), |
|
|
|
label: __('Insert Column Before {0}', [__(datatabe_col.docfield.label).bold()]), |
|
|
|
fieldname: 'insert_before', |
|
|
|
fieldtype: 'Check' |
|
|
|
} |
|
|
@@ -789,7 +789,10 @@ frappe.views.ReportView = class ReportView extends frappe.views.ListView { |
|
|
|
} else { |
|
|
|
this.fields.splice(col_index, 0, field); |
|
|
|
} |
|
|
|
frappe.show_alert(__('Also adding the dependent currency field {0}', [field[0].bold()])); |
|
|
|
const field_label = frappe.meta.get_label(doctype, field[0]); |
|
|
|
frappe.show_alert( |
|
|
|
__('Also adding the dependent currency field {0}', [__(field_label).bold()]) |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@@ -799,7 +802,10 @@ frappe.views.ReportView = class ReportView extends frappe.views.ListView { |
|
|
|
const field = [col, doctype]; |
|
|
|
this.fields.push(field); |
|
|
|
this.refresh(); |
|
|
|
frappe.show_alert(__('Also adding the status dependency field {0}', [field[0].bold()])); |
|
|
|
const field_label = frappe.meta.get_label(doctype, field[0]); |
|
|
|
frappe.show_alert( |
|
|
|
__('Also adding the status dependency field {0}', [__(field_label).bold()]) |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|