mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-13 14:41:53 +00:00
fix(company): replaced "this company" with company name on delete transactions dialog (backport #56021) (#56023)
Co-authored-by: Diptanil Saha <diptanil@frappe.io> fix(company): replaced "this company" with company name on delete transactions dialog (#56021)
This commit is contained in:
@@ -211,12 +211,11 @@ frappe.ui.form.on("Company", {
|
|||||||
{
|
{
|
||||||
fieldtype: "Data",
|
fieldtype: "Data",
|
||||||
fieldname: "company_name",
|
fieldname: "company_name",
|
||||||
label: __('Please enter the company name <b>"{0}"</b> to confirm', [
|
label: __("Please enter the company name to confirm"),
|
||||||
frappe.utils.escape_html(frm.doc.name),
|
|
||||||
]),
|
|
||||||
reqd: 1,
|
reqd: 1,
|
||||||
description: __(
|
description: __(
|
||||||
"Please make sure you really want to delete all the transactions for this company. Your master data will remain as it is. This action cannot be undone."
|
"Please make sure you really want to delete all the transactions for {0}. Your master data will remain as it is. This action cannot be undone.",
|
||||||
|
[frappe.utils.bold(frm.doc.name)]
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
function (data) {
|
function (data) {
|
||||||
@@ -236,7 +235,7 @@ frappe.ui.form.on("Company", {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
__("Delete all the Transactions for this Company"),
|
__("Delete all the Transactions for {0}", [frappe.utils.bold(frm.doc.name)]),
|
||||||
__("Delete")
|
__("Delete")
|
||||||
);
|
);
|
||||||
d.get_primary_btn().addClass("btn-danger");
|
d.get_primary_btn().addClass("btn-danger");
|
||||||
|
|||||||
Reference in New Issue
Block a user