mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-25 22:21:31 +01:00
fix: clarify confirmation message
(cherry picked from commit 57be8a85d6)
This commit is contained in:
@@ -1075,8 +1075,11 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
|
|||||||
|
|
||||||
frappe.confirm(
|
frappe.confirm(
|
||||||
__(
|
__(
|
||||||
"Do you want to clear the selected {0}?",
|
"For the new {0} to take effect, would you like to clear the current {1}?",
|
||||||
[frappe.utils.comma_and(to_clear.map(dt => __(dt)))]
|
[
|
||||||
|
__(frappe.meta.get_label(cdt, "due_date")),
|
||||||
|
frappe.utils.comma_and(to_clear)
|
||||||
|
],
|
||||||
),
|
),
|
||||||
() => {
|
() => {
|
||||||
this.frm.set_value("payment_terms_template", "");
|
this.frm.set_value("payment_terms_template", "");
|
||||||
|
|||||||
Reference in New Issue
Block a user